Part Number Hot Search : 
00MHZ HI7106C SKY77409 A5064 LTV827 F06A20 4304H3 83056AGI
Product Description
Full Text Search
 

To Download MAX9867EWV Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 19-4573; Rev 0; 4/09
Ultra-Low Power Stereo Audio Codec
General Description
The MAX9867 is an ultra-low power stereo audio codec designed for portable consumer devices such as mobile phones and portable gaming consoles. The device features stereo differential microphone inputs that can be connected to either analog or digital microphones. The single-ended line inputs, with configurable preamplifier, can be sent to the ADC for record or routed directly to the headphone amplifier for playback. An auxiliary ADC path can be used to track any DC voltage. The stereo headphone amplifiers support differential, single-ended, and capacitorless output configurations. Using the capacitorless output configuration, the device can output 10mW into 32 headphones. Comprehensive click-and-pop circuitry suppresses audible clicks and pops during volume changes and startup or shutdown. Utilizing Maxim's proprietary digital circuitry, the device can accept any available 10MHz to 60MHz system clock. This architecture eliminates the need for an external PLL and multiple crystal oscillators. The stereo ADC and DAC paths provide user-configurable voiceband or audioband digital filters. Voiceband filters provide extra attenuation at the GSM packet frequency and greater than 70dB stopband attenuation at fS/2. The MAX9867 operates from a single 1.8V supply, and supports a 1.65V to 3.6V logic level. An I2C 2-wire serial interface provides control for volume levels, signal mixing, and general operating modes. The MAX9867 is available in a tiny 2.2mm x 2.7mm, 0.4mm-ball-pitch, WLP package. A 32-pin 5mm x 5mm TQFN package is also available.
Features
o 1.8V Single-Supply Operation o 6.7mW Playback Power Consumption o 90dB Stereo DAC, 8kHz fs 48kHz o 85dB Stereo ADC, 8kHz fs 48kHz o Battery-Measurement Auxiliary ADC o Support for Any Master Clock Between 10MHz to 60MHz o Stereo Digital Microphone Input Support o Stereo Analog Differential Microphone Inputs o Stereo Headphone Amplifiers: Differential, Single-Ended, or Capacitorless o Stereo Line Inputs o Voiceband Filter with a Stopband Attenuation Greater than 70dB o 1.65V to 3.6V Digital Interface Supply Voltage o I2S/TDM-Compatible Digital Audio Bus o 30-Bump, 2.2mm x 2.7mm 0.4mm-Pitch WLP
MAX9867
Applications
Cell Phones Portable Gaming Devices Portable Navigation Devices Portable Multimedia Players Wireless Headsets
Ordering Information
PART MAX9867EWV+ MAX9867ETJ+ TEMP RANGE -40C to +85C -40C to +85C PIN-PACKAGE 30 WLP 32 TQFN-EP*
+Denotes lead(Pb)-free/RoHS-compliant package.
*EP = Exposed pad.
Simplified Block Diagram
I2S/PCM I2C
LEFT MIC AMP
DIGITAL AUDIO INTERFACE
CONTROL INTERFACE
DIGITAL MICROPHONE INTERFACE
MAX9867
MIX ADC AUDIO DIGITAL FILTERS ADC DAC MIX DAC HEADPHONE AMP
RIGHT MIC AMP LEFT PREAMP LINEIN 1 RIGHT PREAMP LINEIN 2
HEADPHONE AMP
________________________________________________________________ Maxim Integrated Products
1
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit Maxim's website at www.maxim-ic.com.
Ultra-Low Power Stereo Audio Codec MAX9867
ABSOLUTE MAXIMUM RATINGS
(Voltages with respect to AGND.) DVDD, AVDD, and PVDD .........................................-0.3V to +2V DVDDIO.................................................................-0.3V to +3.6V DGND and PGND..................................................-0.1V to +0.1V PREG, REF, REG, MICBIAS ....................-0.3V to (AVDD + 0.3V) MCLK, LRCLK, BCLK SDOUT, SDIN .................................-0.3V to (DVDDIO + 0.3V) SDA, SCL, IRQ ......................................................-0.3V to +3.6V LOUTP, LOUTN, ROUTP, ROUTN .................................(PGND - 0.3V) to (PVDD + 0.3V) LINL, LINR, JACKSNS/AUX, MICLP/DIGMICDATA, MICLN/DIGMICCLK, MICRP, MICRN..-0.3V to (AVDD + 0.3V) Continuous Power Dissipation (TA = +70C) 30-Bump WLP (derate 12.5mW/C above +70C) ....1000mW 32-Pin TQFN-EP (derate 34.5mW/C above +70C) .2759mW Junction-to-Ambient Thermal Resistance (JA) (Note 1) 30-Bump WLP .............................................................80C/W 32-Pin TQFN-EP ..........................................................29C/W Operating Temp Range .......................................-40C to +85C Storage Temp Range ........................................-65C to +150C
Note 1: Package thermal resistances were obtained using the method described in JEDEC specification JESD51-7, using a fourlayer board. For detailed information on package thermal considerations, refer to www.maxim-ic.com/thermal-tutorial.
Stresses beyond those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
ELECTRICAL CHARACTERISTICS
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = , headphone load (RL) connected between _OUTP and _OUTN in differential mode, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL = 0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25C.) (Note 2)
PARAMETER Supply Voltage Range SYMBOL DVDDIO Full-duplex 8kHz mono (voice mode) (Note 3) Analog (AVDD + PVDD) Digital (DVDD + DVDDIO) Analog (AVDD + PVDD) Digital (DVDD + DVDDIO) Analog (AVDD + PVDD) Digital (DVDD + DVDDIO) Analog (AVDD + PVDD) Stereo line-in only Digital (DVDD + DVDDIO) Analog (AVDD + PVDD) Shutdown Supply Current TA = +25C Digital (DVDD + DVDDIO) 0.004 1 1 0.05 5 A 5 CONDITIONS PVDD, DVDD, AVDD MIN 1.65 1.65 TYP 1.8 1.8 4.65 0.96 3.28 1.40 8.0 2.0 3.8 MAX 1.95 3.6 7 1.5 5 2 mA 12 3 6 UNITS V
DAC playback 48kHz stereo (audio mode) (Note 3) Total Supply Current IVDD Full-duplex 48kHz stereo (audio mode) (Note 3)
2
_______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = , headphone load (RL) connected between _OUTP and _OUTN in differential mode, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL = 0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25C.) (Note 2)
PARAMETER Shutdown to Full Operation Soft-Start/-Stop Time DAC (Note 4) Dynamic Range (Note 5) DR fS = 48kHz, AVVOL = +0dB, TA = +25C Master or slave mode Slave mode Differential mode Full-Scale Output VOLL/VOLR = 0 x 09 Capacitorless and single-ended modes 84 1 0.56 1 1.2 ms fS = 16kHz 0.59 -80 -15 0 60 78 78 75 62 dB 0 +18 dB dB dB 5 VRMS 90 dB SYMBOL CONDITIONS Excludes PLL lock time MIN TYP 10 10 MAX UNITS ms ms
MAX9867
Gain Error
DC accuracy, measured with respect to full-scale output PDLY f = 1kHz, 0dBFS, HP filter disabled, digital input to analog output fS = 8kHz
%
Voice Path Phase Delay
Total Harmonic Distortion DAC Attenuation Range DAC Gain Adjust
THD AVDAC AVGAIN
MCLK = 12.288MHz, fS = 48kHz, 0dBFS, measured at headphone outputs DACA = 0xF to 0x0 DACG = 00 to 11 VAVDD = VPVDD = 1.65V to 1.95V f = 217Hz, VRIPPLE = 100mVP-P, AVVOL = 0dB
Power-Supply Rejection Ratio
PSRR
f = 1kHz, VRIPPLE = 100mVP-P, AVVOL = 0dB f = 10kHz, VRIPPLE = 100mVP-P, AVVOL = 0dB
DAC VOICE MODE DIGITAL IIR LOWPASS FILTER With respect to fS within ripple; fS = 8kHz to 48kHz Passband Cutoff fPLP -3dB cutoff Passband Ripple Stopband Cutoff Stopband Attenuation fSLP f < fPLP With respect to fS; fS = 8kHz to 48kHz f > fSLP, f = 20Hz to 20kHz 75 0.448 x fS 0.451 x fS 0.1 0.476 x fS dB Hz dB
Hz
_______________________________________________________________________________________
3
Ultra-Low Power Stereo Audio Codec MAX9867
ELECTRICAL CHARACTERISTICS (continued)
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = , headphone load (RL) connected between _OUTP and _OUTN in differential mode, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL = 0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25C.) (Note 2)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
DAC VOICE MODE DIGITAL 5th ORDER IIR HIGHPASS FILTER DVFLT = 0x1 (elliptical tuned for 16kHz GSM + 217Hz notch) DVFLT = 0x2 (500Hz Butterworth tuned for 16kHz) 5th Order Passband Cutoff (-3dB from Peak, I2C Register Programmable) fDHPPB DVFLT = 0x3 (elliptical tuned for 8kHz GSM + 217Hz notch) DVFLT = 0x4 (500Hz Butterworth tuned for 8kHz) DVFLT = 0x5 (fS/240 Butterworth) DVFLT = 0x1 (elliptical tuned for 16kHz GSM + 217Hz notch) DVFLT = 0x2 (500Hz Butterworth tuned for 16kHz) 5th Order Stopband Cutoff (-30dB from Peak, I2C Register Programmable) fDHPSB DVFLT = 0x3 (elliptical tuned for 8kHz GSM + 217Hz notch) DVFLT = 0x4 (500Hz Butterworth tuned for 8kHz) DVFLT = 0x5 (fS/240 Butterworth) DC Attenuation DCATTEN DVFLT 000 With respect to fS within ripple; fS = 8kHz to 48kHz Passband Cutoff fPLP -3dB cutoff -6.02dB cutoff Passband Ripple Stopband Cutoff Stopband Attenuation fSLP f < fPLP With respect to fS; fS = 8kHz to 48kHz 60 DAC STEREO AUDIO MODE DIGITAL FIR LOWPASS FILTER 0.43 x fS 0.47 x fS 0.50 x fS 0.1 0.58 x fS dB Hz dB Hz 0.0161 x fS 0.0312 x fS 0.0321 x fS 0.0625 x fS 0.0042 x fS 0.0139 x fS 0.0156 x fS 0.0279 x fS 0.0312 x fS 0.0021 x fS 90 dB Hz Hz
4
_______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = , headphone load (RL) connected between _OUTP and _OUTN in differential mode, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL = 0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25C.) (Note 2)
PARAMETER Passband Cutoff (-3dB from Peak) DC Attenuation ADC (Note 6) Dynamic Range (Note 5) Full-Scale Input Gain Error (Note 7) DR fS = 8kHz, MODE = 0 (IIR voice) fS = 8kHz to 48kHz, MODE = 1 (FIR audio) Differential MIC input or stereo-line inputs, AVPRE = 0dB, AVPGA = 0dB DC accuracy, measured with respect to 80% of full-scale output f = 1kHz, 0dBFS, HP filter disabled, analog input to digital output fS = 8kHz fS = 16kHz 75 84 85 1 1 1.2 ms 0.61 -81 -12 60 85 85 dB 80 80 -70 +3 dB dB 5 dB VP-P % SYMBOL CONDITIONS MIN TYP 0.000625 x fS 90 MAX UNITS
MAX9867
DAC STEREO AUDIO MODE DIGITAL DC BLOCKING HIGHPASS FILTER fDHPPB DCATTEN DVFLT = 0x1 DVFLT = 0x1 Hz dB
Voice Path Phase Delay
PDLY
Total Harmonic Distortion ADC Level Adjust Range
THD AVADC
f = 1kHz, fS = 8kHz, TA = +25C, 0dBFs AVL/VR = 0xF to 0x0 VAVDD = 1.65V to 1.95V, input referred f = 217Hz, VRIPPLE = 100mV, AVADC = 0dB, input referred
Power-Supply Rejection Ratio
PSRR
f = 1kHz, VRIPPLE = 100mV, AVADC = 0dB, input referred f = 10kHz, VRIPPLE = 100mV, AVADC = 0dB, input referred
ADC VOICE MODE DIGITAL IIR LOWPASS FILTER With respect to fS within ripple; fS = 8kHz to 48kHz -3dB cutoff Passband Ripple Stopband Cutoff Stopband Attenuation fSLP f < fPLP With respect to fS; fS = 8kHz to 48kHz f > fSLP, f = 20Hz to 20kHz 74 0.445 x fS 0.449 x fS 0.1 0.469 x fS dB Hz dB
Passband Cutoff
fPLP
Hz
_______________________________________________________________________________________
5
Ultra-Low Power Stereo Audio Codec MAX9867
ELECTRICAL CHARACTERISTICS (continued)
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = , headphone load (RL) connected between _OUTP and _OUTN in differential mode, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL = 0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25C.) (Note 2)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
ADC VOICE MODE DIGITAL 5th ORDER IIR HIGHPASS FILTER AVFLT = 0x1 (elliptical tuned for 16kHz GSM + 217Hz notch) AVFLT = 0x2 (500Hz Butterworth tuned for 16kHz) 5th Order Passband Cutoff (-3dB from Peak, I2C Register Programmable) fAHPPB AVFLT = 0x3 (elliptical tuned for 8kHz GSM + 217Hz notch) AVFLT = 0x4 (500Hz Butterworth tuned for 8kHz) AVFLT = 0x5 (fS/240 Butterworth) AVFLT = 0x1 (elliptical tuned for 16kHz GSM + 217Hz notch) AVFLT = 0x2 (500Hz Butterworth tuned for 16kHz) Stopband Cutoff (-30dB from Peak) fAHPSB AVFLT = 0x3 (elliptical tuned for 8kHz GSM + 217Hz notch) AVFLT = 0x4 (500Hz Butterworth tuned for 8kHz) AVFLT = 0x5 (fS/240 Butterworth) DC Attenuation DCATTEN AVFLT 000 With respect to fS within ripple; fS = 8kHz to 48kHz Passband Cutoff fPLP -3dB cutoff -6.02dB cutoff Passband Ripple Stopband Cutoff Stopband Attenuation fSLP f < fPLP With respect to fS; fS = 8kHz to 48kHz f > fSLP, f = 20Hz to 20kHz 60 ADC STEREO AUDIO MODE DIGITAL FIR LOWPASS FILTER 0.43 x fS 0.48 x fS 0.5 x fS 0.1 0.58 x fS dB Hz dB Hz 0.0161 x fS 0.0312 x fS 0.0321 x fS 0.0625 x fS 0.0042 x fS 0.0139 x fS 0.0156 x fS 0.0279 x fS 0.0312 x fS 0.0021 x fS 90 dB Hz Hz
6
_______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = , headphone load (RL) connected between _OUTP and _OUTN in differential mode, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL = 0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25C.) (Note 2)
PARAMETER Passband Cutoff (-3dB from Peak) DC Attenuation OUTPUT VOLUME CONTROL VOLL/VOLR = 0x00 VOLL/VOLR = 0x01 VOLL/VOLR = 0x02 Line Input to Output Volume Control AVVOL VOLL/VOLR = 0x04 VOLL/VOLR = 0x08 VOLL/VOLR = 0x10 VOLL/VOLR = 0x20 VOLL/VOLR = 0x00 to 0x06 (+6dB to +3dB) Output Volume Control Step Size VOLL/VOLR = 0x06 to 0x0F (+3dB to -6dB) VOLL/VOLR = 0x0F to 0x17 (-6dB to -22dB) VOLL/VOLR = 0x17 to 0x3F (-22dB to mute) Output Volume Control Mute Attenuation HEADPHONE AMPLIFIER (Note 8) Output Power per Channel (Differential Mode) Output Power per Channel (Capacitorless Mode) POUT POUT f = 1kHz, THD < 1%, TA = +25C f = 1kHz, THD < 1%, TA = +25C RL = 16 RL = 32 RL = 16 RL = 32 MCLK = 13MHz, fS = 8kHz MCLK = 12.288MHz, fS = 48kHz MCLK = 13MHz, fS = 8kHz MCLK = 12.288MHz, fS = 48kHz MCLK = 13MHz, fS = 8kHz MCLK = 12.288MHz, fS = 48kHz 76 8 30 52 32 19 10 -76 -77 -80 -72 -74 -74 -74 -74 -76 90 dB -65 dB -65 dB -70 dB mW mW f = 1kHz 14.55 14.1 13.6 12.6 9.35 0.35 -50.15 14.9 14.4 13.9 12.9 9.9 0.9 -49.2 0.5 1 2 4 100 dB dB 15.15 14.6 14.1 13.1 10.35 1.35 -48.15 dB SYMBOL CONDITIONS MIN TYP 0.000625 x fS 90 MAX UNITS
MAX9867
ADC STEREO AUDIO MODE DIGITAL DC BLOCKING HIGHPASS FILTER fAHPPB DCATTEN AVFLT = 0x1 AVFLT = 0x1 Hz dB
RL = 16, POUT = 25mW, f = 1kHz Total Harmonic Distortion + Noise (Differential Mode) THD+N RL = 32, POUT = 25mW, f = 1kHz
RL = 16, POUT = 6.25mW, f = 1kHz Total Harmonic Distortion + Noise (Capacitorless Mode) THD+N RL = 32, POUT = 6.25mW, f = 1kHz
RL = 16, POUT = 6.25mW, f = 1kHz Total Harmonic Distortion + Noise (SE Mode) THD+N RL = 32, POUT = 6.25mW, f = 1kHz
Dynamic Range
DR
AVVOL = +6dB (Notes 5, 7)
_______________________________________________________________________________________
7
Ultra-Low Power Stereo Audio Codec MAX9867
ELECTRICAL CHARACTERISTICS (continued)
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = , headphone load (RL) connected between _OUTP and _OUTN in differential mode, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL = 0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25C.) (Note 2)
PARAMETER SYMBOL CONDITIONS VAVDD = VPVDD = 1.65V to 1.95V f = 217Hz, VRIPPLE = 100mVP-P, AVVOL = 0dB Power-Supply Rejection Ratio (Note 7) PSRR f = 1kHz, VRIPPLE = 100mVP-P, AVVOL = 0dB f = 10kHz, VRIPPLE = 100mVP-P, AVVOL = 0dB AVVOL = -84dB differential mode Output Offset Voltage VOS AVVOL = -84dB capacitorless mode (LOUTP-LOUTN, ROUTP-LOUTN), TA = +25C 0.8 87 55 60 500 100 -80 dBV Out of shutdown Into shutdown Out of shutdown -69 -75 dBV -75 pF dB 3 (LOUTP-LOUTN, ROUTP-ROUTN), TA = +25C MIN 60 TYP 78 78 75 62 dB MAX UNITS
0.2
1.3 mV
Differential mode, POUT = 5mW, f = 1kHz Crosstalk XTALK Capacitorless mode, POUT = 5mW, f = 1kHz No sustained oscillations Peak voltage, A-weighted, 32 samples per second Peak voltage, A-weighted, 32 samples per second PALEN/PAREN = 01 Preamplifier Gain AVPRE PALEN/PAREN = 10 PALEN/PAREN = 11 MIC PGA Gain Common-Mode Rejection Ratio MIC Input Resistance AVPGAM CMRR RIN_MIC PGAML/PGAMR = 0x1F PGAML/PGAMR = 0x00 VIN = 100mVP-P, f = 217Hz All gain settings 30 TQFN WLP RL = 32 RL = Into shutdown
Capacitive Drive Click-and-Pop Level (Differential, Capacitorless Modes)
Click-and-Pop Level (SE Mode) MICROPHONE AMPLIFIER
-0.5 19.5 29.5 -0.6 19.3
0 20 30 -0.1 19.75 50 50
+0.5 20.5 30.5 +0.4 20.3 dB dB k dB
8
_______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = , headphone load (RL) connected between _OUTP and _OUTN in differential mode, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL = 0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25C.) (Note 2)
PARAMETER SYMBOL CONDITIONS AVPRE = 0dB, VIN = 1VP-P, f = 1kHz Total Harmonic Distortion + Noise THD+N AVPRE = +30dB, VIN = 32mVP-P, f = 1kHz, (1VP-P at ADC input) VAVDD = 1.65V to 1.95V, input referred f = 217Hz, VRIPPLE = 100mV, AVADC = 0dB, input referred Power-Supply Rejection Ratio PSRR f = 1kHz, VRIPPLE = 100mV, AVADC = 0dB, input referred f = 10kHz, VRIPPLE = 100mV, AVADC = 0dB, input referred MICROPHONE BIAS Output Voltage Load Regulation Line Regulation Power-Supply Rejection Ratio Noise Voltage LINE INPUT Full-Scale Input Line Input Level Adjust Range Line Input Mute Attenuation Input Resistance Total Harmonic Distortion + Noise AUXIN INPUT Input DC Voltage Range AUXIN Input Resistance JACK SENSE OPERATION JDETEN = 1, SHDN = 1, JACKSNS Threshold VTH JDETEN = 1, SHDN = 0, JACKSNS, LOUTP JDETEN = 1, SHDN = 1, JACKSNS = GND Pullup Current IPU JDETEN = 1, SHDN = 0, JACKSNS = LOUTP = GND JDETEN = 1, JACKSNS, LOUTP 0.92 x 0.95 x 0.98 x MICBIAS MICBIAS MICBIAS AVDD 0.8 AVDD 0.4 4 A 4 AVDD 20 V AVDD 0.15 V RIN AUXEN = 1 AUXEN = 1, 0V AUXIN 0.738 0 10 40 0.738 V M RIN_LINE THD+N VIN AVLINE AVLINE = 0dB LIGL/LIGR = 0xF to 0x0 f = 1kHz AVLINE = +24dB VIN = 0.1VP-P, f = 1kHz, differential output 20 -83 -6.5 100 1.0 +24.5 VP-P dB dB k dB PSRR VMICBIAS VAVDD = 1.8V, ILOAD = 1mA ILOAD = 1mA to 2mA VAVDD = 1.65V to 1.95V f = 217Hz, VRIPPLE = 100mVP-P f = 10kHz, VRIPPLE = 100mVP-P A-weighted 1.5 1.525 0.2 10 85 81 9.1 1.55 10 V V/A V/V dB VRMS 60 MIN TYP -80 dB -67 85 85 80 80 dB MAX UNITS
MAX9867
Pullup Voltage
_______________________________________________________________________________________
9
Ultra-Low Power Stereo Audio Codec MAX9867
ELECTRICAL CHARACTERISTICS (continued)
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = , headphone load (RL) connected between _OUTP and _OUTN in differential mode, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL = 0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25C.) (Note 2)
PARAMETER DIGITAL SIDETONE Sidetone Gain Adjust Range Voice Path Phase Delay INPUT CLOCK CHARACTERISTICS MCLK Input Frequency MCLK Input Duty Cycle Maximum MCLK Input Jitter LRCLK Sample Rate Range LRCLK PLL Lock Time Any allowable LRCLK and PCLK rate, slave mode Rapid lock mode Nonrapid lock mode fMCLK For any LRCLK sample rate Prescaler = /1 mode /2 or /4 modes Maximum allowable RMS for performance limits 8 2 12 10 40 30 100 48 7 25 ms 60 60 70 MHz % psRMS kHz AVSTGA PDLY Differential output mode, DVST = 0x1F to 0x01 MIC input to headphone output, f = 1kHz, HP filter disabled, fS = 8kHz -60 2.2 0 dB ms SYMBOL CONDITIONS MIN TYP MAX UNITS
LRCLK Acceptable Jitter for Maintaining PLL Lock
Allowable LRCLK period change from nominal for slave PLL mode at any allowable LRCLK and PCLK rates FREQ = 0x8 through 0xF 0 0 -0.025 1.2
100 0 0 +0.025
ns %
LRCLK Average Frequency Error (Master and Slave Modes) (Note 9) DIGITAL INPUT (MCLK) Input High Voltage Input Low Voltage Input Leakage Current Input Capacitance DIGITAL INPUTS (SDIN, BCLK, LRCLK) Input High Voltage Input Low Voltage Input Hysteresis Input Leakage Current Input Capacitance IIH, IIL VIH VIL VIH VIL IIH, IIL
PCLK = 192xfS, 256xfS, 384xfS, 512xfS, 768xfS, and 1024xfS All other modes
V 0.6 V A pF 1 10
TA = +25C
0.7 x DVDDIO 0.3 x DVDDIO 200 TA = +25C 10 1
V V mV A pF
10
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
ELECTRICAL CHARACTERISTICS (continued)
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = , headphone load (RL) connected between _OUTP and _OUTN in differential mode, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL = 0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25C.) (Note 2)
PARAMETER DIGITAL INPUTS (SDA, SCL) Input High Voltage Input Low Voltage Input Hysteresis Input Leakage Current Input Capacitance DIGITAL INPUT (DIGMICDATA) Input High Voltage Input Low Voltage Input Hysteresis Input Leakage Current Input Capacitance CMOS DIGITAL OUTPUTS (BCLK, LRCLK, SDOUT) Output Low Voltage Output High Voltage VOL VOH IOL = 3mA IOH = 3mA DVDDIO - 0.4 0.4 DVDD 0.4 1 0.2 x DVDD PCLK/8 PCLK/6 20 0 0.4 V V IIH, IIL TA = +25C 10 VIH VIL 100 35 0.65 x DVDD 0.35 x DVDD V V mV A pF IIH, IIL TA = +25C 10 VIH VIL 200 1 0.7 x DVDD 0.3 x DVDD V V mV A pF SYMBOL CONDITIONS MIN TYP MAX UNITS
MAX9867
CMOS DIGITAL OUTPUT (DIGMICCLK) Output Low Voltage Output High Voltage VOL VOH IOL = 1mA IOH = 1mA V V
OPEN-DRAIN DIGITAL OUTPUTS (SDA, IRQ) Output High Current Output Low Voltage IOH VOL VOUT = DVDD, TA = +25C IOL = 3mA A V
DIGITAL MICROPHONE TIMING CHARACTERISTICS (VDVDD = 1.65V) DIGMICCLK Divide Ratio DIGMICDATA to DIGMICCLK Setup Time DIGMICDATA to DIGMICCLK Hold Time fMICCLK tSU,MIC tHD,MIC MICCLK = 00 MICCLK = 01 Either clock edge Either clock edge MHz ns ns
DIGITAL AUDIO INTERFACE TIMING CHARACTERISTICS (VDVDD = 1.65V) Minimum BCLK Cycle Time tBCLKS tBCLKM Slave operation Master operation 75 325 ns ns
______________________________________________________________________________________
11
Ultra-Low Power Stereo Audio Codec MAX9867
ELECTRICAL CHARACTERISTICS (continued)
(VAVDD = VPVDD = VDVDD = VDVDDIO = +1.8V, RL = , headphone load (RL) connected between _OUTP and _OUTN in differential mode, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVPRE = +20dB, AVPGAM = 0dB, AVDAC = 0dB, AVLINE = +20dB, AVVOL = 0dB, MCLK = 13MHz, TA = TMIN to TMAX, unless otherwise noted. Typical values are at TA = +25C.) (Note 2)
PARAMETER Minimum BCLK High Time Minimum BCLK Low Time BCLK or LRCLK Rise and Fall SDIN or LRCLK to BCLK Setup Time SDIN or LRCLK to BCLK Hold Time SDOUT Delay Time from BCLK Rising Edge Serial-Clock Frequency Bus Free Time Between STOP and START Conditions Hold Time (REPEATED) START Condition SCL Pulse-Width Low SCL Pulse-Width High Setup Time for a REPEATED START Condition Data Hold Time Data Setup Time SDA and SCL Receiving Rise Time SDA and SCL Receiving Fall Time SDA Transmitting Fall Time Setup Time for STOP Condition Bus Capacitance Pulse Width of Suppressed Spike SYMBOL tBCLKH tBCLKL tR, tF tSU tHD tDLY CL = 30pF CONDITIONS Slave operation Slave operation Master operation, CL = 15pF 20 0 0 40 MIN TYP 30 30 7 MAX UNITS ns ns ns ns ns ns
I2C TIMING CHARACTERISTICS (VDVDD = 1.65V) fSCL tBUF tHD,STA tLOW tHIGH tSU,STA tHD,DAT tSU,DAT tR tF tF tSU,STO CB tSP 0 (Note 10) (Note 10) RPU,SDA = 475 (Note 10) RPU,SDA = 475 0 1.3 0.6 1.3 0.6 0.6 0 100 20 + 0.1CB 20 + 0.1CB 20 + 0.1CB 0.6 400 50 300 300 250 900 400 kHz s s s s s ns ns ns ns ns s pF ns
Note 2: Note 3: Note 4: Note 5:
The MAX9867 is 100% production tested at TA = +25C. Specifications over temperature limits are guaranteed by design. Clocking all zeros into the DAC, master mode, and differential headphone mode. DAC performance measured at the headphone outputs. Dynamic range measured using the EIAJ method. -60dBFS 1kHz output signal, A-weighted, and normalized to 0dBFS. f = 20Hz to 20kHz. Note 6: Performance measured using microphone inputs, unless otherwise stated. Note 7: Performance measured using line inputs. Note 8: Performance measured using DAC, unless otherwise stated. LRCLK = 8kHz, unless otherwise stated. Note 9: In master-mode operation, the accuracy of the MCLK input proportionally determines the accuracy of the sample clock rate. Note 10: CB is in pF. 12 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Typical Operating Characteristics
(VAVDD = VDVDD = VPVDD = +1.8V, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVMICPGA = 0dB, MCLK = 13MHz, LRCLK = 8kHz, BW = 20Hz to fS/2, TA = +25C, unless otherwise noted.)
TOTAL HARMONIC DISTORTION + NOISE vs. POWER OUT (DAC TO HEADPHONE)
MAX9867 toc01
MAX9867
TOTAL HARMONIC DISTORTION + NOISE vs. POWER OUT (DAC TO HEADPHONE)
MAX9867 toc02
TOTAL HARMONIC DISTORTION + NOISE vs. POWER OUT (DAC TO HEADPHONE)
-10 -20 -30 THD+N (dB) -40 -50 -60 -70 6kHz 1kHz MCLK = 12.288MHz LRCLK = 48kHz RLOAD = 32 DIFFERENTIAL MODE
MAX9867 toc03
0 -10 -20 -30 THD+N (dB) -40 -50 -60 -70 -80 20Hz -90 0 5 10 15 20 25 30 3kHz 1kHz MCLK = 13MHz LRCLK = 8kHz RLOAD = 32 DIFFERENTIAL MODE
0 -10 -20 -30 THD+N (dB) -40 -50 3kHz -60 -70 -80 -90 20Hz 0 10 20 30 40 50 60 1kHz MCLK = 13MHz LRCLK = 8kHz RLOAD = 16 DIFFERENTIAL MODE
0
-80 -90 0 POWER OUT (mW) 20Hz 5 10 15 20 25 30 35
35
POWER OUT (mW)
POWER OUT (mW)
TOTAL HARMONIC DISTORTION + NOISE vs. POWER OUT (DAC TO HEADPHONE)
MAX9867 toc04
TOTAL HARMONIC DISTORTION + NOISE vs. FREQUENCY (DAC TO HEADPHONE)
MAX9867 toc05
TOTAL HARMONIC DISTORTION + NOISE vs. FREQUENCY (DAC TO HEADPHONE)
-10 -20 -30 THD+N (%) -40 -50 -60 -70 5mW MCLK = 13MHz LRCLK = 8kHz RLOAD = 16 DIFFERENTIAL MODE
MAX9867 toc06
0 -10 -20 -30 THD+N (dB) -40 -50 -60 -70 -80 -90 0 20Hz 10 20 30 40 50 60 6kHz 1kHz MCLK = 12.288MHz LRCLK = 48kHz RLOAD = 16 DIFFERENTIAL MODE
0 -10 -20 -30 THD+N (%) -40 -50 -60 -70 -80 -90 10 100 1000 20mW 5mW MCLK = 13MHz LRCLK = 8kHz RLOAD = 32 DIFFERENTIAL MODE
0
-80 -90 10,000 10 100 1000
20mW 10,000
POWER OUT (mW)
FREQUENCY (Hz)
FREQUENCY (Hz)
TOTAL HARMONIC DISTORTION + NOISE vs. FREQUENCY (DAC TO HEADPHONE)
MAX9867 toc07
TOTAL HARMONIC DISTORTION + NOISE vs. FREQUENCY (DAC TO HEADPHONE)
MAX9867 toc08
TOTAL HARMONIC DISTORTION + NOISE vs. POWER OUT (DAC TO HEADPHONE)
-10 -20 -30 THD+N (dB) -40 -50 -60 -70 3kHz 1kHz MCLK = 13MHz LRCLK = 8kHz RLOAD = 32 CAPACITORLESS MODE
MAX9867 toc09
0 -10 -20 -30 THD+N (%) -40 -50 -60 -70 -80 -90 10 100 1000 FREQUENCY (Hz) 20mW 10,000 5mW MCLK = 12.288MHz LRCLK = 48kHz RLOAD = 32 DIFFERENTIAL MODE
0 -10 -20 -30 THD+N (%) -40 -50 -60 -70 -80 -90 20mW 10 100 1000 FREQUENCY (Hz) 10,000 5mW MCLK = 12.288MHz LRCLK = 48kHz RLOAD = 16 DIFFERENTIAL MODE
0
-80 -90 100,000 0
20Hz 2 4 6 8 10
100,000
POWER OUT (mW)
______________________________________________________________________________________
13
Ultra-Low Power Stereo Audio Codec MAX9867
Typical Operating Characteristics (continued)
(VAVDD = VDVDD = VPVDD = +1.8V, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVMICPGA = 0dB, MCLK = 13MHz, LRCLK = 8kHz, BW = 20Hz to fS/2, TA = +25C, unless otherwise noted.)
TOTAL HARMONIC DISTORTION + NOISE vs. POWER OUT (DAC TO HEADPHONE)
MAX9867 toc10
TOTAL HARMONIC DISTORTION + NOISE vs. FREQUENCY (DAC TO HEADPHONE)
MAX9867 toc11
TOTAL HARMONIC DISTORTION + NOISE vs. FREQUENCY (DAC TO HEADPHONE)
-10 -20 -30 THD+N (%) -40 -50 -60 -70 1mW MCLK = 12.288MHz LRCLK = 48kHz RLOAD = 32 CAPACITORLESS MODE
MAX9867 toc12
0 -10 -20 -30 THD+N (dB) -40 -50 -60 -70 -80 -90 0 2 4 6 8 10 20Hz 6kHz 1kHz MCLK = 12.288MHz LRCLK = 48kHz RLOAD = 32 CAPACITORLESS MODE
0 -10 -20 -30 THD+N (%) -40 -50 -60 -70 -80 -90 5mW 10 100 1000 1mW MCLK = 13MHz LRCLK = 8kHz RLOAD = 32 CAPACITORLESS MODE
0
-80 -90 10,000 10 100
5mW 1000 FREQUENCY (Hz) 10,000 100,000
12
POWER OUT (mW)
FREQUENCY (Hz)
TOTAL HARMONIC DISTORTION + NOISE vs. POWER OUT (DAC TO HEADPHONE)
MAX9867 toc13
TOTAL HARMONIC DISTORTION + NOISE vs. POWER OUT (DAC TO HEADPHONE)
MAX9867 toc14
TOTAL HARMONIC DISTORTION + NOISE vs. FREQUENCY (DAC TO HEADPHONE)
-10 -20 -30 THD+N (%) -40 -50 -60 -70 1mW MCLK = 13MHz LRCLK = 8kHz RLOAD = 32, COUT = 220F SINGLE-ENDED MODE POUT SPECIFIED AT 1kHz
MAX9867 toc15
0 -10 -20 -30 THD+N (dB) -40 -50 -60 -70 -80 -90 0 2 4 6 8 10 POWER OUT (mW) 1kHz 20Hz 3kHz MCLK = 13MHz LRCLK = 8kHz RLOAD = 32, COUT = 220F SINGLE-ENDED MODE
0 -10 -20 -30 THD+N (dB) -40 -50 -60 -70 -80 -90 0 2 4 6 8 10 1kHz 20Hz 6kHz MCLK = 12.288MHz LRCLK = 48kHz RLOAD = 32, COUT = 220F SINGLE-ENDED MODE
0
-80 -90 12 10 100 1000
5mW 10,000
POWER OUT (mW)
FREQUENCY (Hz)
TOTAL HARMONIC DISTORTION + NOISE vs. FREQUENCY (DAC TO HEADPHONE)
MAX9867 toc16
TOTAL HARMONIC DISTORTION + NOISE vs. POWER OUT (LINE IN TO HEADPHONE)
MAX9867 toc17
TOTAL HARMONIC DISTORTION + NOISE vs. POWER OUT (LINE IN TO HEADPHONE)
-10 -20 THD+N (dB) -30 -40 -50 -60 6kHz LINE IN PREAMP = 0dB RLOAD = 32 DIFFERENTIAL MODE
MAX9867 toc18
0 -10 -20 -30 THD+N (%) -40 -50 -60 -70 -80 -90 10 100 1000 FREQUENCY (Hz) 10,000 5mW 1mW MCLK = 13MHz LRCLK = 8kHz RLOAD = 32, COUT = 220F SINGLE-ENDED MODE POUT SPECIFIED AT 1kHz
0 -10 -20 THD+N (dB) -30 -40 -50 -60 -70 6kHz -80 20Hz 1kHz LINE IN PREAMP = +18dB RLOAD = 32 DIFFERENTIAL MODE
0
-70 -80 -90
20Hz 1kHz 0 5 10 15 20 25 30 35 40
100,000
0
5
10 15 20 25 30 35 40 45 50 POWER OUT (mW)
POWER OUT (mW)
14
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Typical Operating Characteristics (continued)
(VAVDD = VDVDD = VPVDD = +1.8V, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVMICPGA = 0dB, MCLK = 13MHz, LRCLK = 8kHz, BW = 20Hz to fS/2, TA = +25C, unless otherwise noted.)
TOTAL HARMONIC DISTORTION + NOISE vs. FREQUENCY (LINE IN TO HEADPHONE)
MAX9867 toc19
MAX9867
TOTAL HARMONIC DISTORTION + NOISE vs. FREQUENCY (LINE IN TO HEADPHONE)
MAX9867 toc20
POWER OUT vs. HEADPHONE LOAD
MCLK = 12.288MHz LRCLK = 48kHz THD+N = < 0.1% DIFFERENTIAL MODE
MAX9867 toc21
0 -10 -20 -30 LINE IN PREAMP = +18dB RLOAD = 32 DIFFERENTIAL MODE
0 -10 -20 -30 THD+N (dB) -40 -50 -60 -70 5mW LINE IN PREAMP = +18dB RLOAD = 32 DIFFERENTIAL MODE
60 50 POWER OUT (mW) 40 30 20 10
THD+N (dB)
-40 -50 -60 -70 -80 -90 10 100 1000 FREQUENCY (Hz) 10,000 100,000 20mW 5mW
-80 -90 10 100 20mW 1000 FREQUENCY (Hz) 10,000 100,000 0 1 10 100 1000 HEADPHONE LOAD ()
POWER OUT vs. HEADPHONE LOAD
MAX9867 toc22
POWER OUT vs. HEADPHONE LOAD
MAX9867 toc23
TOTAL HARMONIC DISTORTION + NOISE vs. FREQUENCY (MICROPHONE TO ADC)
-10 -20 -30 THD+N (%) MCLK = 13MHz LRCLK = 8kHz MICPRE = 0dB VIN = 1VP-P
MAX9867 toc24
30 25 POWER OUT (mW) 20 15 10 5 0 1 10 100 MCLK = 12.288MHz LRCLK = 48kHz THD+N = < 0.1% CAPACITORLESS MODE
25 MCLK = 12.288MHz LRCLK = 48kHz THD+N = < 0.1% SINGLE-ENDED MODE
0
20 POWER OUT (mW)
15
-40 -50 -60
10
5
-70 -80
0 1000 1 10 100 1000 HEADPHONE LOAD () HEADPHONE LOAD ()
-90 10 100 1000 10,000 FREQUENCY (Hz)
TOTAL HARMONIC DISTORTION + NOISE vs. FREQUENCY (MICROPHONE TO ADC)
MAX9867 toc25
TOTAL HARMONIC DISTORTION + NOISE vs. FREQUENCY (MICROPHONE TO ADC)
MAX9867 toc26
POWER-SUPPLY REJECTION RATIO vs. FREQUENCY (DAC TO HEADPHONE)
-10 -20 -30 PSRR (dB) -40 -50 -60 -70 -80 -90 VRIPPLE = 100mVP-P MCLK = 13MHz LRCLK = 8kHz
MAX9867 toc27
0 -10 -20 -30 THD+N (%) -40 -50 -60 -70 -80 -90 10 100 1000 MCLK = 13MHz LRCLK = 8kHz MICPRE = 20dB VIN = 0.11VP-P
0 -10 -20 -30 THD+N (%) -40 -50 -60 -70 -80 -90 MCLK = 13MHz LRCLK = 8kHz MICPRE = 30dB VIN = 0.032VP-P
0
10,000
10
100
1000
10,000
10
100
1000 FREQUENCY (Hz)
10,000
100,000
FREQUENCY (Hz)
FREQUENCY (Hz)
______________________________________________________________________________________
15
Ultra-Low Power Stereo Audio Codec MAX9867
Typical Operating Characteristics (continued)
(VAVDD = VDVDD = VPVDD = +1.8V, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVMICPGA = 0dB, MCLK = 13MHz, LRCLK = 8kHz, BW = 20Hz to fS/2, TA = +25C, unless otherwise noted.)
POWER-SUPPLY REJECTION RATIO vs. FREQUENCY (MIC TO ADC)
MAX9867 toc28
POWER-SUPPLY REJECTION RATIO vs. FREQUENCY (MICBIAS)
MAX9867 toc29
FFT, DAC TO HEADPHONE, 0dBFS, MCLK = 13MHz, LRCLK = 8kHz
FREQ = 0xA 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140
MAX9867 toc30
0 -10 -20 -30 PSRR (dB) -40 -50 -60 -70 -80 -90 10 100 FREQUENCY (Hz) VRIPPLE = 100mVP-P MCLK = 13MHz LRCLK = 8kHz
0 -10 -20 -30 PSRR (dB) -40 -50 -60 -70 -80 -90 VRIPPLE = 100mVP-P
20
1000
10
100 FREQUENCY (Hz)
1000
0
2
4
6
8
10 12 14 16
18 20
FREQUENCY (kHz)
FFT, DAC TO HEADPHONE, -60dBFS, MCLK = 13MHz, LRCLK = 8kHz
MAX9867 toc31
FFT, DAC TO HEADPHONE, 0dBFS, MCLK = 12.288MHz, LRCLK = 48kHz
MAX9867 toc32
FFT, DAC TO HEADPHONE, -60dBFS, MCLK = 12.288MHz, LRCLK = 48kHz
NI = 6000 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140
MAX9867 toc33
20 FREQ = 0xA 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140 0 2 4 6 8 10 12 14 16
20 NI = 6000 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140
20
18 20
0
2
4
6
8
10 12 14 16
18 20
0
2
4
6
8
10 12 14 16
18 20
FREQUENCY (kHz)
FREQUENCY (kHz)
FREQUENCY (kHz)
FFT, DAC TO HEADPHONE, 0dBFS, MCLK = 13MHz, LRCLK = 48kHz
MAX9867 toc34
FFT, DAC TO HEADPHONE, -60dBFS, MCLK = 13MHz, LRCLK = 48kHz
MAX9867 toc35
FFT, DAC TO HEADPHONE, 0dBFS, MCLK = 13MHz, LRCLK = 44.1kHz
PLL MODE 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140
MAX9867 toc36
20 PLL MODE 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140 0 2 4 6 8 10 12 14 16
20 PLL MODE 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140
20
18 20
0
2
4
6
8
10 12 14 16
18 20
0
2
4
6
8
10 12 14 16
18 20
FREQUENCY (kHz)
FREQUENCY (kHz)
FREQUENCY (kHz)
16
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec MAX9867
Typical Operating Characteristics (continued)
(VAVDD = VDVDD = VPVDD = +1.8V, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVMICPGA = 0dB, MCLK = 13MHz, LRCLK = 8kHz, BW = 20Hz to fS/2, TA = +25C, unless otherwise noted.)
FFT, DAC TO HEADPHONE, -60dBFS, MCLK = 13MHz, LRCLK = 44.1kHz
MAX9867 toc37
FFT, MICROPHONE TO ADC, 0dBFS, MCLK = 13MHz, LRCLK = 8kHz
MAX9867 toc38
FFT, MICROPHONE TO ADC, -60dBFS, MCLK = 13MHz, LRCLK = 8kHz
FREQ = 0xA 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140
MAX9867 toc39
20 PLL MODE 0 -20 AMPLITUDE (dB)
20 FREQ = 0xA 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140
20
-40 -60 -80 -100 -120 -140 0 2 4 6 8 10 12 14 16 18 20 FREQUENCY (kHz)
0
500 1000 1500 2000 2500 3000 3500 4000 FREQUENCY (Hz)
0
500 1000 1500 2000 2500 3000 3500 4000 FREQUENCY (Hz)
FFT, MICROPHONE TO ADC, 0dBFS, MCLK = 12.288MHz, LRCLK = 48kHz
MAX9867 toc40
FFT, MICROPHONE TO ADC, -60dBFS, MCLK = 12.288MHz, LRCLK = 48kHz
MAX9867 toc41
FFT, MICROPHONE TO ADC, 0dBFS, MCLK = 13MHz, LRCLK = 48kHz
PLL MODE 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140
MAX9867 toc42
20 NI = 6000 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140 0 2 4 6 8 10 12 14 16
20 NI = 6000 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140
20
18 20
0
2
4
6
8
10 12 14 16
18 20
0
2
4
6
8
10 12 14 16
18 20
FREQUENCY (kHz)
FREQUENCY (kHz)
FREQUENCY (kHz)
FFT, MICROPHONE TO ADC, -60dBFS, MCLK = 13MHz, LRCLK = 48kHz
MAX9867 toc43
WIDEBAND FFT, DAC TO HEADPHONE, 0dBFS, MCLK = 13MHz, LRCLK = 8kHz
MAX9867 toc44
WIDEBAND FFT, DAC TO HEADPHONE, -60dBFS, MCLK = 13MHz, LRCLK = 8kHz
FREQ = 0xA 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140
MAX9867 toc45
20 PLL MODE 0 -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140 0 2 4 6 8 10 12 14 16
0 FREQ = 0xA -20 AMPLITUDE (dB) -40 -60 -80 -100 -120 -140
20
18 20
0
20
40
60
80
100
120
0
20
40
60
80
100
120
FREQUENCY (kHz)
FREQUENCY (kHz)
FREQUENCY (kHz)
______________________________________________________________________________________
17
Ultra-Low Power Stereo Audio Codec MAX9867
Typical Operating Characteristics (continued)
(VAVDD = VDVDD = VPVDD = +1.8V, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVMICPGA = 0dB, MCLK = 13MHz, LRCLK = 8kHz, BW = 20Hz to fS/2, TA = +25C, unless otherwise noted.)
DAC IIR HIGHPASS FILTER FREQUENCY RESPONSE, MODE = 0
MAX9867 toc46
DAC IIR HIGHPASS FILTER FREQUENCY RESPONSE, MODE = 0
AVFLT = 0 0 AVFLT = 3 AMPLITUDE (dB) AMPLITUDE (dB) -20 -40 -60 AVFLT = 4 -80 -100 LRCLK = 8kHz
MAX9867 toc47
DAC IIR/FIR LOWPASS FILTER FREQUENCY RESPONSE (8kHz)
10 0 -10 -20 -30 -40 -50 -60 -70 MODE = 0 MODE = 1
MAX9867 toc48
20 DVFLT = 0 0 DVFLT = 3 AMPLITUDE (dB) -20 -40 -60 DVFLT = 4 -80 -100 20 120 220 320 420 520 FREQUENCY (Hz) LRCLK = 8kHz MODE = 0
20
20
-80 20 120 220 320 420 520 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 4.0 FREQUENCY (kHz) FREQUENCY (Hz)
ADC IIR/FIR LOWPASS FILTER FREQUENCY RESPONSE (8kHz)
MAX9867 toc49
SHUTDOWN TO DAC FULL OPERATION (CAPACITORLESS OR DIFFERENTIAL MODE)
SCL (2V/div)
MAX9867 toc50
20 MODE = 1 10 AMPLITUDE (dB) -20 -40 -60 -80 -100
MODE = 0 LOUTP (500mV/div) 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 4.0 FREQUENCY (kHz)
TIME (4ms/div)
SHUTDOWN TO DAC FULL OPERATION (CLICKLESS SINGLE-ENDED MODE)
MAX9867 toc51
SHUTDOWN TO DAC FULL OPERATION (FAST TURN-ON SINGLE-ENDED MODE)
SCL (2V/div)
MAX9867 toc52
LOUTP (500mV/div)
SCL (2V/div)
TIME (40ms/div)
LOUTP (500mV/div)
TIME (4ms/div)
18
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Typical Operating Characteristics (continued)
(VAVDD = VDVDD = VPVDD = +1.8V, CREF = 2.2F, CMICBIAS = CPREG = CREG = 1F, AVMICPGA = 0dB, MCLK = 13MHz, LRCLK = 8kHz, BW = 20Hz to fS/2, TA = +25C, unless otherwise noted.)
MAX9867
FULL OPERATION TO SHUTDOWN (DAC)
MAX9867 toc53
ADC SOFT-START
SCL (2V/div)
MAX9867 toc54
SCL (2V/div)
TIME (1ms/div)
ADC OUT (500mV/div)
LOUTP (500mV/div)
TIME (4ms/div)
TOTAL HARMONIC DISTORTION + NOISE vs. MCLK FREQUENCY, 0dBFS
MAX9867 toc55
DYNAMIC RANGE vs. MCLK FREQUENCY
VIN = -60dBFS LRCLK = 48kHz PLL MODE A-WEIGHTED
MAX9867 toc56
0 -10 -20 -30 THD+N (dB) -40 -50 -60 -70 -80 -90 -100 LRCLK = 48kHz PLL MODE
120 110 DYNAMIC RANGE (dB) 100 90 80 70 60
10 15 20 25 30 35 40 45 50 55 60 MCLK FREQUENCY (MHz)
10 MCLK FREQUENCY (MHz)
100
LINE INPUT RESISTANCE vs. GAIN SETTING
MAX9867 toc57
AUX CODE vs. INPUT VOLTAGE
MAX9867 toc58
270
30,000 25,000 20,000 15,000 10,000 5000 0
170
120
70
20 -6 -1 4 9 14 19 24 GAIN SETTING (dB)
AUX CODE (SIGNED DECIMAL)
220 INPUT RESISTANCE (k)
-5000 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1.0 1.2 INPUT VOLTAGE (V)
______________________________________________________________________________________
19
Ultra-Low Power Stereo Audio Codec MAX9867
Pin Description
PIN/BUMP TQFN-EP 1 2 3 4 5 6 7 8 9 10 WLP A2 B3 A3 C3 A4 B4 A5 B5 A6 B6 NAME DGND SCL SDA IRQ Digital Ground I2C Serial-Clock Input. Connect a pullup resistor to a 1.7V to 3.3V supply. I2C Serial-Data Input/Output. Connect a pullup resistor to a 1.7V to 3.3V supply. Hardware Interrupt Output. IRQ can be programmed to pull low when bits in status register 0x00 are set. Read status register 0x00 to clear IRQ once set. Repeat faults have no effect on IRQ until it is cleared by reading register 0x00. Connect a 10k pullup resistor to a 1.7V to 3.3V supply. Analog Power Supply. Bypass to AGND with a 1F capacitor. Converter Reference. Bypass to AGND with a 2.2F capacitor (1.23V nominal). Positive Internal Regulated Supply. Bypass to AGND with a 1F capacitor (1.6V nominal). PREG/2 Voltage Reference. Bypass to AGND with a 1F capacitor (0.8V nominal). Analog Ground Low-Noise Microphone Bias. Connect a 2.2k to 470 resistor to the positive output of a microphone (1.525V nominal). Bypass to AGND with a 1F capacitor. Left Negative Differential Microphone Input or Digital Microphone Clock Output. For analog microphones, AC-couple to the negative output of a microphone with a 1F capacitor. For digital microphones, connect to the clock input of the microphone. Left Positive Differential Microphone Input or Digital Microphone Data Input. For analog microphones, AC-couple to the positive output of a microphone with a 1F capacitor. For digital microphones, connect to the data output of the microphone(s). Up to two digital microphones can be connected. Right Positive Differential Microphone Input. AC-couple to the positive output of a microphone with a 1F capacitor. Right Negative Differential Microphone Input. AC-couple to the negative output of a microphone with a 1F capacitor. Left-Line Input. AC-couple analog audio signal to LINL with a 1F capacitor. Right-Line Input. AC-couple analog audio signal to LINR with a 1F capacitor. Jack Sense or Auxiliary ADC Input. When configured for jack detection, JACKSNS detects the presence or absence of a jack. See the Mode Configuration section for details. When configured as an auxiliary ADC input, AUX is used to measure DC voltages. Headphone Power Ground Positive Right-Channel Headphone Output. Connect directly to the load in differential and capacitorless mode. AC-couple to the load in single-ended mode. Negative Right-Channel Headphone Output. Inverting output in differential mode. Leave unconnected in capacitorless and fast turn-on single-ended mode. Bypass with a 1F capacitor to AGND in clickless, single-ended mode. Negative Left-Channel Headphone Output. Noninverting output in differential mode. Common headphone return in capacitorless mode. Leave unconnected in fast turn-on single-ended mode. Bypass with a 1F capacitor to AGND in clickless single-ended mode. FUNCTION
AVDD REF PREG REG AGND MICBIAS
11
C5
MICLN/ DIGMICCLK
12
C6
MICLP/ DIGMICDATA
13 14 15 16
C4 D6 D5 E6
MICRP MICRN LINL LINR
17 18 19
D4 E5 D3
JACKSNS/AUX PGND ROUTP
20
E4
ROUTN
21
D2
LOUTN
20
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Pin Description (continued)
PIN/BUMP TQFN-EP 22 23 24, 25 26 27 28 29 WLP E3 E2 -- E1 D1 C2 C1 NAME LOUTP PVDD N.C. DVDDIO SDOUT SDIN LRCLK FUNCTION Positive Left-Channel Headphone Output. Connect directly to the load in differential and capacitorless mode. AC-couple to the load in single-ended mode. Headphone Power Supply. Bypass to PGND with a 1F capacitor. No Connection Digital Audio Interface Power Supply. Bypass to DGND with a 1F capacitor. Digital Audio Serial-Data ADC Output Digital Audio Serial-Data DAC Input Digital Audio Left-Right Clock Input/Output. LRCLK is the audio sample rate clock and determines whether the audio data on SDIN is routed to the left or right channel. In TDM mode, LRCLK is a frame synchronization pulse. LRCLK is an input when the MAX9867 is in slave mode and an output when in master mode. Digital Audio Bit Clock Input/Output. BCLK is an input when the MAX9867 is in slave mode and an output when in master mode. Master Clock Input. Acceptable input frequency range: 10MHz to 60MHz. Digital Power Supply. Supply for the digital circuitry and I2C interface. Bypass to DGND with a 1F capacitor. Exposed Pad. Connect the exposed thermal pad to AGND.
MAX9867
30 31 32 --
B1 B2 A1 --
BCLK MCLK DVDD EP
Detailed Description
The MAX9867 is a low-power stereo audio codec designed for portable applications requiring minimum power consumption. The stereo playback path accepts digital audio through a flexible interface compatible with I2S, TDM, and leftjustified signals. An oversampling sigma-delta DAC converts the incoming digital data stream to analog audio and outputs the audio through the stereo headphone amplifier. The headphone amplifier can be configured in differential, single-ended, and capacitorless output modes. The stereo record path has two analog microphone inputs with selectable gain. An integrated microphone bias can be used to power the microphones. The left analog microphone inputs can also accept data from up to two digital microphones. An oversampling sigmadelta ADC converts the microphone signals and outputs the digital bit stream over the digital audio interface. Integrated digital filtering provides a range of notch and highpass filters for both the playback and record paths to limit undesirable low-frequency signals and GSM
transmission noise. The digital filtering provides attenuation of out-of-band energy by over 70dB, eliminating audible aliasing. A digital sidetone function allows audio from the record path to be summed into the playback path after digital filtering. The MAX9867 also includes two stereo, single-ended line inputs with gain adjustment, which can be recorded by the ADCs and/or output by the headphone amplifiers. An auxiliary ADC accurately measures a DC voltage by utilizing the right audio ADC and reporting the DC voltage through the I2C interface. A jack detection function allows the detection of headphone, microphone, and headset jacks. Insertion and removal events can be programmed to trigger a hardware interrupt and flag an I2C register bit. The MAX9867's flexible clock circuitry utilizes a programmable clock divider and a digital PLL, allowing the DAC and ADC to operate at maximum dynamic range for all combinations of master clock (MCLK) and sample rate (LRCLK) without consuming extra supply current. Any master clock between 10MHz and 60MHz is supported as are all sample rates from 8kHz to 48kHz. Master and slave modes are supported for maximum flexibility.
______________________________________________________________________________________
21
Ultra-Low Power Stereo Audio Codec MAX9867
I2C Registers
The MAX9867 audio codec is completely controlled through software using an I2C interface. The power-on default setting is complete shutdown, requiring that the internal registers be programmed to activate the device. See Table 1 for the device's complete register map.
I2C Slave Address
The MAX9867 responds to the slave address 0x30 for all write commands and 0x31 for all read operations.
Table 1. I2C Register Map
REGISTER STATUS Status (Read Only) Jack Sense (Read Only) AUX High (Read Only) AUX Low (Read Only) Interrupt Enable CLOCK CONTROL System Clock Stereo Audio Clock Control High Stereo Audio Clock Control Low DIGITAL AUDIO INTERFACE Interface Mode Interface Mode DIGITAL FILTERING Codec Filters LEVEL CONTROL Sidetone DAC Level ADC Level Left-Line Input Level Right-Line Input Level Left Volume Control Right Volume Control Left Microphone Gain Right Microphone Gain CONFIGURATION ADC Input Microphone Mode POWER MANAGEMENT System Shutdown Revision SHDN LNLEN LNREN 0 DALEN REV DAREN ADLEN ADREN 0x17 0xFF 0x00 0x42 MXINL MICCLK DSLEW VSEN MXINR DIGMICL DIGMICR ZDEN 0 AUXCAP AUXGAIN AUXCAL 0 JDETEN 0 0 HPMODE AUXEN 0 0x14 0x15 0x16 0x00 0x00 0x00 0 0 0 0 0 0 LILM LIRM VOLLM VOLRM PALEN PAREN 0 DSTS DACM AVL 0 0 0 0 VOLL VOLR PGAML PGAMR 0 DACG DVST DACA AVR LIGL LIGR 0x0B 0x0C 0x0D 0x0E 0x0F 0x10 0x11 0x12 0x13 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 MODE AVFLT 0 DVFLT 0x0A 0x00 MAS 0 WCI 0 BCI 0 DLY LVOLFIX HIZOFF DMONO TDM 0 BSEL 0 0x08 0x09 0x00 0x00 0 PLL NI[7:1] 0 PSCLK NI[14:8] RLK/ NI[0] FREQ 0x05 0x06 0x07 0x00 0x00 0x00 ICLD ISLD IULK 0 CLD LSNS SLD JKSNS ULK JKMIC 0 0 AUX[7:0] 0 SDODLY IJDET 0 0 0 0 0 JDET 0 0 0 0x00 0x01 0x02 0x03 0x04 -- -- -- -- 0x00 B7 B6 B5 B4 B3 B2 B1 B0 REGISTER ADDRESS POWERON RESET STATE
AUX[15:8]
22
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Device Status
Status registers 0x00 and 0x01 are read-only registers that report the status of various device functions. The status register bits are cleared upon reading the status register and are set the next time the event occurs. Registers 0x02 and 0x03 report the DC level applied to AUX. See the ADC section for more details and Table 2.
MAX9867
Table 2. Status Registers
REGISTER Status (Read Only) Jack Sense (Read Only) AUX High (Read Only) AUX Low (Read Only) BITS CLD B7 CLD LSNS B6 SLD JKSNS B5 ULK JKMIC B4 0 0 AUX[15:8] AUX[7:0] FUNCTION Clip Detect Flag Indicates that a signal has reached or exceeded full scale in the ADC or DAC. Slew Level Detect Flag When volume or gain changes are made, the slewing circuitry smoothly steps through all intermediate settings. When SLD is set high, all slewing has completed and the volume or gain is at its final value. SLD is also set when soft-start or stop is complete. Digital PLL Unlock Flag Indicates that the digital audio PLL has become unlocked and digital signal data is not reliable. Headset Configuration Change Flag JDET is set whenever there is a change in register 0x01, indicating that the headset configuration has changed. LOUTP State (Valid if SHDN = 0, JDETEN = 1) LSNS is set when the voltage at LOUTP exceeds AVDD - 0.4V. An internal pullup from AVDD to LOUTP causes this condition whenever there is no load on LOUTP. LSNS is only valid in differential and capacitorless output modes. JACKSNS State (Valid if JDETEN = 1) JKSNS is set when the voltage at JACKSNS exceeds AVDD - 0.4V. An internal pullup from AVDD to JACKSNS causes this condition whenever there is no load on JACKSNS. Microphone Detection (Valid if PALEN or PAREN 00 and JDETEN = 1) JKMIC is set when JACKSNS exceeds 0.95 x VMICBIAS. Auxiliary Input Measurement AUX is a 16-bit signed two's complement number representing the voltage measured at JACKSNS/AUX. Before reading a value from AUX, set AUXCAP to 1 to ensure a stable reading. After reading the value, set AUXCAP to 0. Use the following formula to convert the AUX value into an equivalent JACKSNS/AUX voltage: B3 0 0 B2 0 0 B1 JDET 0 B0 0 0 REGISTER ADDRESS 0x00 0x01 0x02 0x03
SLD
ULK
JDET
LSNS
JKSNS
JKMIC
AUX
AUX Voltage = 0.738V x K
K = AUX value when AUXGAIN = 1. See the ADC section for complete details.
______________________________________________________________________________________
23
Ultra-Low Power Stereo Audio Codec MAX9867
Hardware Interrupts
Hardware interrupts are reported on the open-drain IRQ pin. When an interrupt occurs, IRQ remains low until the interrupt is serviced by reading the status register 0x00. If a flag is set, it is reported as a hardware interrupt only if the corresponding interrupt enable is set. Each bit enables interrupts for the status flag in the respective bit location in register 0x00. See Table 3. SDODLY is used to control the SDOUT timing. See the Digital Audio Interface section for a detailed description. accommodate a wide range of system architectures, the MAX9867 supports three main clocking modes: * Normal: This mode uses a 15-bit clock divider coefficient to set the sample rate relative to the prescaled MCLK input (PCLK). This allows high flexibility in both the MCLK and LRCLK frequencies and can be used in either master or slave mode. * Exact Integer: In both master and slave mode, common MCLK frequencies (12MHz, 13MHz, 16MHz, and 19.2MHz) can be programmed to operate in exact integer mode for both 8kHz and 16kHz sample rates. In these modes, the MCLK and LRCLK rates are selected by using the FREQ bits instead of the NI and PLL control bits. * PLL: When operating in slave mode, a PLL can be enabled to lock onto externally generated LRCLK signals that are not integer related to PCLK. Prior to enabling the interface, program NI to the nearest desired ratio and set the NI[0] = 1 to enable the PLL's rapid lock mode. If NI[0] = 0, then NI is ignored and PLL lock time is slower.
Clock Control
The MAX9867 can work with a master clock (MCLK) supplied from any system clock within the 10MHz-to60MHz range. Internally, the MAX9867 requires a 10MHz-to-20MHz clock. A prescaler divides MCLK by 1, 2, or 4 to create the internal clock (PCLK). PCLK is used to clock all portions of the MAX9867. See Table 4. The MAX9867 is capable of supporting any sample rate from 8kHz to 48kHz, including all common sample rates (8kHz, 16kHz, 24kHz, 32kHz, 44.1kHz, and 48kHz). To
Table 3. Interrupt Registers
REGISTER Interrupt Enable B7 ICLD B6 ISLD B5 IULK B4 0 B3 0 B2 SDODLY B1 IJDET B0 0 REGISTER ADDRESS 0x04
Table 4. Clock Control Registers
REGISTER System Clock Stereo Audio Clock Control High Stereo Audio Clock Control Low BITS B7 0 PLL NI[7:1] B6 0 B5 PSCLK NI[14:8] NI[0] B4 B3 B2 FREQ B1 B0 REGISTER 0x05 0x06 0x07
FUNCTION MCLK Prescaler Divides MCLK to generate a PCLK between 10MHz and 20MHz. 00 = Disable clock for low-power shutdown. 01 = Select if MCLK is between 10MHz and 20MHz. 10 = Select if MCLK is between 20MHz and 40MHz. 11 = Select if MCLK is between 40MHz and 60MHz.
PSCLK
24
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Table 4. Clock Control Registers (continued)
BITS FUNCTION Exact Integer Modes Allows integer sampling for specific PCLK (prescaled MCLK) frequencies and 8kHz or 16kHz sample rates. FREQ[3:0] PCLK (MHz) LRCLK (kHz) PCLK/LRCLK 0x00 0x1-0x7 Reserved Normal or PLL mode Reserved Reserved
MAX9867
FREQ
PLL
0x8 12 8 1500 0x9 12 16 750 0xA 13 8 1625 0xB 13 16 812.5 0xC 16 8 2000 0xD 16 16 1000 0xE 19.2 8 2400 0xF 19.2 16 1200 Modes 0x8-0xF are available in either master or slave mode. In slave mode, if the indicated PCLK/LRCLK ratio cannot be guaranteed, use PLL mode instead. PLL Mode Enable 0 = Valid for slave and master mode. The frequency of LRCLK is set by the NI divider bits. In master mode, the MAX9867 generates LRCLK using the specified divide ratio. In slave mode, the MAX9867 expects an LRCLK as specified by the divide ratio. 1 = Valid for slave mode only. A digital PLL locks on to any externally supplied LRCLK signal. Rapid Lock Mode To enable rapid lock mode, set NI to the nearest desired ratio and set NI[0] = 1 before enabling the interface. Normal Mode LRCLK Divider When PLL = 0, the frequency of LRCLK is determined by NI. See Table 5 for common NI values. NI = (65536 x 96 x fLRCLK)/fPCLK
NI
fLRCLK = LRCLK frequency fPCLK = Prescaled MCLK internal clock frequency (PCLK) LRCLK > 24kHz is only valid for MODE = 0 (stereo audio mode). MODE = 1 (voice mode) requires LRCLK 24kHz.
Table 5. Common NI Values
MCLK (MHz) 11.2896 12 12.288 13 19.2 24 26 27 LRCLK (kHz) PSCLK 01 01 01 01 01 10 10 10 8 0x116A 0x1062 0x1000 0x0F20 0x0A3D 0x1062 0x0F20 0x0E90 16 0x22D4 0x20C5 0x2000 0x1E3F 0x147B 0x20C5 0x1E3F 0x1D21 24 0x343F 0x3127 0x3000 0x2D5F 0x1EB8 0x1893 0x16AF 0x15D8 32 0x45A9 0x4189 0x4000 0x3C7F 0x28F6 0x4189 0x3C7F 0x3A41 44.1 0x6000 0x5A51 0x5833 0x535F 0x3873 0x5A51 0x535F 0x5048 48 0x687D 0x624E 0x6000 0x5ABE 0x3D71 0x624E 0x5ABE 0x5762
Note: Bolded values are exact integers that provide maximum full-scale performance.
______________________________________________________________________________________ 25
Ultra-Low Power Stereo Audio Codec MAX9867
Digital Audio Interface
The MAX9867's digital audio interface supports a wide range of operating modes to ensure maximum compatibility. See Figures 1-4 for timing diagrams. In master mode, the MAX9867 outputs LRCLK and BCLK, while in slave mode they are inputs. When operating in master mode, BCLK can be configured in a number of ways to ensure compatiblity with other audio devices. LVOLFIX is used to fix the line input playback volume to 0dB regardless of VOLL and VOLR. See the Line Inputs section for complete details and Table 6.
Table 6. Digital Audio Interface Registers
REGISTER Interface Mode Interface Mode BITS MAS B7 MAS 0 B6 WCI 0 B5 BCI 0 B4 DLY LVOLFIX B3 HIZOFF DMONO FUNCTION Master Mode 0 = The MAX9867 operates in slave mode with LRCLK and BCLK configured as inputs. 1 = The MAX9867 operates in master mode with LRCLK and BCLK configured as outputs. LRCLK Invert 0 = Left-channel data is input and output while LRCLK is low. 1 = Right-channel data is input and output while LRCLK is low. Note: WCI is ignored when TDM = 1. BCLK Invert In master and slave modes: 0 = SDIN is latched into the part on the rising edge of BCLK. SDOUT transitions after the rising edge of BCLK as determined by SDODLY. 1 = SDIN is latched into the part on the falling edge of BCLK. SDOUT transitions after the falling edge of BCLK as determined by SDODLY. In master mode: 0 = LRCLK changes state immediately after the rising edge of BCLK. 1 = LRCLK changes state immediately after the falling edge of BCLK. SDOUT Delay 0 = SDOUT transitions one half BCLK cycle after SDIN is latched into the part. 1 = SDOUT transitions on the same BCLK edge as SDIN is latched into the part. See Figures 1-4 for complete details. See Register 0x04 (interrupt registers). Delay Mode 0 = SDIN/SDOUT data is latched on the first BCLK edge following an LRCLK edge. 1 = SDIN/SDOUT data is assumed to be delayed one BCLK cycle so that it is latched on the 2nd BCLK edge following an LRCLK edge (I2S-compatible mode). Note: DLY is ignored when TDM = 1. SDOUT High-Impedance Mode 0 = SDOUT goes to a high-impedance state after all data bits have been transferred out of the MAX9867, allowing SDOUT to be shared by other devices. 1 = SDOUT is set either high or low after all data bits have been transferred out of the MAX9867. Note: High-impedance mode is intended for use when TDM = 1. See the Line Inputs section. B2 TDM B1 0 BSEL B0 0 REGISTER ADDRESS 0x08 0x09
WCI
BCI
SDODLY
DLY
HIZOFF
LVOLFIX
26
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec MAX9867
Table 6. Digital Audio Interface Registers (continued)
BITS FUNCTION TDM Mode Select 0 = LRCLK signal polarity indicates left and right audio. 1 = LRCLK is a framing pulse that transitions polarity to indicate the start of a frame of audio data consisting of multiple channels. When operating in TDM mode, the left channel is output immediately following the frame sync pulse. If rightchannel data is being transmitted, the 2nd channel of data immediately follows the 1st channel data. Mono Playback Mode 0 = Stereo data input on SDIN is processed separately. 1 = Stereo data input on SDIN is mixed to a single channel and routed to both the left and right DAC. BCLK Select Configures BCLK when operating in master mode. BSEL has no effect in slave mode. Set BSEL = 010, unless sharing the bus with multiple devices: 000 = Off 001 = 64x LRCLK (192x internal clock divided by 3) 010 = 48x LRCLK (192x internal clock divided by 4) 011 = Reserved for future use. 100 = PCLK/2 101 = PCLK/4 110 = PCLK/8 111 = PCLK/16
TDM
DMONO
BSEL
______________________________________________________________________________________
27
Ultra-Low Power Stereo Audio Codec MAX9867
AUDIO MASTER MODES: LEFT JUSTIFIED: WCI = 0, BCI = 0, DLY = 0, SDODLY = 0 7ns (typ) LRCLK LEFT 1/fS RELATIVE TO PCLK (SEE NOTE) SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) CONFIGURED BY BSEL D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 7ns (typ) RIGHT
7ns (typ)
7ns (typ)
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
LEFT JUSTIFIED + LRCLK INVERT: WCI = 1, BCI = 0, DLY = 0, SDODLY = 0 7ns (typ) LRCLK LEFT 1/fS RELATIVE TO PCLK (SEE NOTE) SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) CONFIGURED BY BSEL D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 7ns (typ) RIGHT
7ns (typ)
7ns (typ)
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
LEFT JUSTIFIED + BCLK INVERT: WCI = 0, BCI = 1, DLY = 0, SDODLY = 0 7ns (typ) LRCLK RELATIVE TO PCLK (SEE NOTE) SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) CONFIGURED BY BSEL D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 LEFT 1/fS 7ns (typ) RIGHT
7ns (typ)
7ns (typ)
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
NOTE: THE DELAY FROM A BCLK EDGE AND AN LRCLK EDGE IS DETERMINED BY LENGTH OF TIME THAT PCLK (THE INTERNALLY DIVIDED DOWN VERSION OF MCLK AS DEFINED BY THE PSCLK BITS) IS HIGH DURING ONE PERIOD OF MCLK PLUS THE INTERNAL DELAY. FOR EXAMPLE: IF PCLK = 12.288MHZ, THEN THE DELAY BETWEEN BCLK AND LRCLK IS TYPICALLY 45ns.
Figure 1. Digital Audio Interface Audio Master Mode Example (Sheet 1 of 2)
28
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec MAX9867
I2S: WCI = 0, BCI = 0, DLY = 1, SDODLY = 0 7ns (typ) LRCLK RELATIVE TO PCLK (SEE NOTE) SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) CONFIGURED BY BSEL 7ns (typ) 7ns (typ) D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 LEFT 1/fS 7ns (typ) RIGHT
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
LEFT JUSTIFIED: WCI = 0, BCI = 0, DLY = 0, SDODLY = 1 7ns (typ) LRCLK RELATIVE TO PCLK (SEE NOTE) SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) CONFIGURED BY BSEL D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 LEFT 1/fS 7ns (typ) RIGHT
7ns (typ)
7ns (typ)
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
NOTE: THE DELAY FROM A BCLK EDGE AND AN LRCLK EDGE IS DETERMINED BY LENGTH OF TIME THAT PCLK (THE INTERNALLY DIVIDED DOWN VERSION OF MCLK AS DEFINED BY THE PSCLK BITS) IS HIGH DURING ONE PERIOD OF MCLK PLUS THE INTERNAL DELAY. FOR EXAMPLE: IF PCLK = 12.288MHZ, THEN THE DELAY BETWEEN BCLK AND LRCLK IS TYPICALLY 45ns.
Figure 1. Digital Audio Interface Audio Master Mode Example (Sheet 2 of 2)
______________________________________________________________________________________
29
Ultra-Low Power Stereo Audio Codec MAX9867
VOICE (TDM, PCM) MASTER MODES: BCI = 0, HIZOFF = 0, SDODLY = 0 7ns (typ) LRCLK 1/fS RELATIVE TO PCLK (SEE NOTE) SDOUT L15 L14 L13 L12 L11 L10 L9 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 CONFIGURED BY BSEL L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0 7ns (typ)
7ns (typ)
7ns (typ)
L5
L4
L3
L2
L1
L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
BCI = 1, HIZOFF = 0, SDODLY = 0 7ns (typ) LRCLK 1/fS RELATIVE TO PCLK (SEE NOTE) SDOUT L15 L14 L13 L12 L11 L10 L9 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 CONFIGURED BY BSEL L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0 7ns (typ)
7ns (typ)
7ns (typ)
L5
L4
L3
L2
L1
L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
BCI = 0, HIZOFF = 1, SDODLY = 0 7ns (typ) LRCLK 1/fS RELATIVE TO PCLK (SEE NOTE) SDOUT L15 L14 L13 L12 L11 L10 L9 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 CONFIGURED BY BSEL L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0 7ns (typ)
7ns (typ)
7ns (typ)
L5
L4
L3
L2
L1
L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
BCI = 0, HIZOFF = 0, SDODLY = 1 7ns (typ) LRCLK 1/fS RELATIVE TO PCLK (SEE NOTE) SDOUT L15 L14 L13 L12 L11 L10 L9 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 CONFIGURED BY BSEL L8 L7 L6 L5 L4 L3 L2 L1 L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0 7ns (typ)
7ns (typ)
7ns (typ)
L5
L4
L3
L2
L1
L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
Figure 2. Digital Audio Interface Voice Master Mode Examples
30 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec MAX9867
AUDIO SLAVE MODES: LEFT JUSTIFIED: WCI = 0, BCI = 0, DLY = 0, SDODLY = 0 LRCLK LEFT 1/fS 25ns (min) SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) 75ns (min) 30ns (min) 30ns (min) D15 0ns (min) D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 RIGHT
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
LEFT JUSTIFIED + LRCLK INVERT: WCI = 1, BCI = 0, DLY = 0, SDODLY = 0 LRCLK LEFT 1/fS 25ns (min) SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) 75ns (min) 30ns (min) 30ns (min) D15 0ns (min) D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 RIGHT
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
LEFT JUSTIFIED + BCLK INVERT: WCI = 0, BCI = 1, DLY = 0, SDODLY = 0 LRCLK 25ns (min) SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) 75ns (min) 30ns (min) 30ns (min) D15 LEFT 1/fS 0ns (min) D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 RIGHT
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Figure 3. Digital Audio Interface Audio Slave Mode Examples (Sheet 1 of 2)
______________________________________________________________________________________
31
Ultra-Low Power Stereo Audio Codec MAX9867
I2S: WCI = 0, BCI = 0, DLY = 1, SDODLY = 0 LRCLK 25ns (min) SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) 75ns (min) 30ns (min) LEFT 1/fS 0ns (min) D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 RIGHT
30ns (min)
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
LEFT JUSTIFIED: WCI = 0, BCI = 0, DLY = 0, SDODLY = 1 LRCLK 25ns (min) SDOUT D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) 75ns (min) 30ns (min) 30ns (min) D15 LEFT 1/fS 0ns (min) D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 RIGHT
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Figure 3. Digital Audio Interface Audio Slave Mode Examples (Sheet 2 of 2)
32
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec MAX9867
VOICE (TDM, PCM) SLAVE MODES: BCI = 0, HIZOFF = 0, SDODLY = 0 LRCLK 1/fS 25ns (min) SDOUT L15 L14 L13 L12 L11 L10 L9 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 75ns (min) 30ns (min) L8 L7 L6 L5 L4 L3 L2 L1 0ns (min) L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0 0ns (min)
30ns (min)
L5
L4
L3
L2
L1
L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
BCI = 1, HIZOFF = 0, SDODLY = 0 LRCLK 1/fS 25ns (min) SDOUT L15 L14 L13 L12 L11 L10 L9 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 75ns (min) 30ns (min) L8 L7 L6 L5 L4 L3 L2 L1 0ns (min) L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0 0ns (min)
30ns (min)
L5
L4
L3
L2
L1
L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
BCI = 0, HIZOFF = 1, SDODLY = 0 LRCLK 1/fS 25ns (min) SDOUT L15 L14 L13 L12 L11 L10 L9 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 75ns (min) 30ns (min) L8 L7 L6 L5 L4 L3 L2 L1 0ns (min)
0ns (min)
L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
30ns (min)
L5
L4
L3
L2
L1
L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
BCI = 0, HIZOFF = 0, SDODLY = 1 LRCLK 1/fS 25ns (min) SDOUT L15 L14 L13 L12 L11 L10 L9 40ns (max) 0ns (min) BCLK 25ns (min) SDIN 0ns (min) L15 L14 L13 L12 L11 L10 L9 L8 L7 L6 75ns (min) 30ns (min) L8 L7 L6 L5 L4 L3 L2 L1 0ns (min)
0ns (min)
L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
30ns (min)
L5
L4
L3
L2
L1
L0 R15 R14 R13 R12 R11 R10 R9 R8 R7 R6 R5 R4 R3 R2 R1 R0
Figure 4. Digital Audio Interface Voice Slave Mode Examples
______________________________________________________________________________________ 33
Ultra-Low Power Stereo Audio Codec MAX9867
Digital Filtering
The MAX9867 incorporates both IIR (voice) and FIR (audio) digital filters to accomodate a wide range of audio sources. The IIR fiilters provide over 70dB of stopband attenuation as well as selectable highpass filters. The FIR filters provide low-power consumption and are linear phase to maintain stereo imaging. Table 7 is the digital filtering register.
Table 7. Digital Filtering Register
REGISTER Codec Filters BITS MODE Digital Audio Filter Mode 0 = IIR Voice Filters 1 = FIR Audio Filters ADC Digital Audio Filter MODE = 0 Select the desired digital filter response from Table 8. See the Frequency Response graph in the Typical Operating Characteristics section for details on each filter. MODE = 1 0x0 = DC-blocking filter is disabled. Any other setting = DC-blocking filter is enabled. DAC Digital Audio Filter MODE = 0 Select the desired digital filter response from Table 8. See the Frequency Response graph in the Typical Operating Characteristics section for details on each filter. MODE = 1 0x0 = DC-blocking filter is disabled. Any other setting = DC-blocking filter is enabled. B7 MODE B6 B5 AVFLT B4 B3 0 FUNCTION B2 B1 DVFLT B0 REGISTER ADDRESS 0x0A
AVFLT
DVFLT
Table 8. IIR Highpass Digital Filters
CODE 0x0 0x1 0x2 0x3 0x4 0x5 0x6 to 0x7 Elliptical Butterworth Elliptical Butterworth Butterworth 16 16 8 8 8 to 24 Reserved FILTER TYPE INTENDED SAMPLE RATE (kHz) HIGHPASS CORNER FREQUENCY (Hz) 256 500 256 500 fS/240 217Hz NOTCH
Disabled Yes No Yes No No
34
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Digital Gain Control
The MAX9867 includes digital gain adjustment for the playback and record paths. Independent gain adjustment is provided for the two record channels. Sidetone gain adjustment is also provided to set the sidetone level relative to the playback level. Table 9 is the digital gain registers.
MAX9867
Table 9. Digital Gain Registers
REGISTER Sidetone DAC Level ADC Level BITS 0 B7 DSTS DACM AVL FUNCTION Digital Sidetone Source Mixer 00 = No sidetone is selected. 01 = Left ADC 10 = Right ADC 11 = Left + right ADC Digital Sidetone Level Control All gain settings are relative to the ADC input voltage. Differential Headphone Output Mode SETTING GAIN (dB) SETTING 0x00 Off 0x0B 0x01 0 0x0C 0x02 -2 0x0D 0x03 -4 0x0E 0x04 -6 0x0F 0x05 -8 0x10 0x06 -10 0x11 0x07 -12 0x12 0x08 -14 0x13 0x09 -16 0x14 0x0A -18 0x15 B6 B5 0 DACG B4 B3 B2 DVST DACA AVR B1 B0 REGISTER ADDRESS 0x0B 0x0C 0x0D
DSTS
DVST
GAIN (dB) -20 -22 -24 -26 -28 -30 -32 -34 -36 -38 -40
SETTING 0x16 0x17 0x18 0x19 0x1A 0x1B 0x1C 0x1D 0x1E 0x1F -- SETTING 0x16 0x17 0x18 0x19 0x1A 0x1B 0x1C 0x1D 0x1E 0x1F --
GAIN (dB) -42 -44 -46 -48 -50 -52 -54 -56 -58 -60 -- GAIN (dB) -47 -49 -51 -53 -55 -57 -59 -61 -63 -65 --
Capacitorless and Single-Ended Headphone Output Mode SETTING GAIN (dB) SETTING GAIN (dB) 0x00 Off 0x0B -25 0x01 -5 0x0C -27 0x02 -7 0x0D -29 0x03 -9 0x0E -31 0x04 -11 0x0F -33 0x05 -13 0x10 -35 0x06 -15 0x11 -37 0x07 -17 0x12 -39 0x08 -19 0x13 -41 0x09 -21 0x14 -43 0x0A -23 0x15 -45 DACM DAC Mute Enable 0 = No mute 1 = Mute
______________________________________________________________________________________
35
Ultra-Low Power Stereo Audio Codec MAX9867
Table 9. Digital Gain Registers (continued)
BITS FUNCTION DAC Gain 00 = 0dB 01 = +6dB 10 = +12dB 11 = +18dB Note: DACG is only used when MODE = 0. If MODE = 1, the DAC level is only set by DACA. DAC Level Control DACA works in all modes. SETTING 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 ADC Left/Right Level Control SETTING 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7
DACG
DACA
GAIN (dB) 0 -1 -2 -3 -4 -5 -6 -7 GAIN (dB) +3 +2 +1 0 -1 -2 -3 -4
SETTING 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF SETTING 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF
GAIN (dB) -8 -9 -10 -11 -12 -13 -14 -15 GAIN (dB) -5 -6 -7 -8 -9 -10 -11 -12
AVL/AVR
Line Inputs
The MAX9867 includes one pair of single-ended line inputs. When enabled, the line inputs connect directly
to the headphone amplifier and can be optionally connected to the ADC for recording. Table 10 lists the line input registers.
Table 10. Line Input Registers
REGISTER Left-Line Input Level Right-Line Input Level B7 0 0 B6 LILM LIRM B5 0 0 B4 0 0 B3 B2 LIGL LIGR B1 B0 REGISTER ADDRESS 0x0E 0x0F
36
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Table 10. Line Input Registers (continued)
BITS LILM/LIRM FUNCTION Line-Input Left/Right Playback Mute 0 = Line input is connected to the headphone amplifiers. 1 = Line input is disconnected from the headphone amplifiers. Line-Input Left/Right Gain SETTING 0x0 0x1 LIGL/LIGR 0x2 0x3 0x4 0x5 0x6 0x7 GAIN (dB) +24 +22 +20 +18 +16 +14 +12 +10 SETTING 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF GAIN (dB) +8 +6 +4 +2 0 -2 -4 -6
MAX9867
LVOLFIX
Fix Line Input Volume 0 = Line input to headphone output volume tracks VOLL and VOLR bits. 1 = Line input to headphone output volume fixed at VOLL and VOLR bits. See the Digital Audio Interface section.
Playback Volume
The MAX9867 incorporates volume and mute control to allow level control for the playback audio path. Program
registers 0x10 and 0x11 to set the desired volume. See Table 11.
Table 11. Playback Volume Registers
REGISTER Left Volume Control Right Volume Control B7 0 0 B6 VOLLM VOLRM B5 B4 B3 VOLL VOLR B2 B1 B0 REGISTER ADDRESS 0x10 0x11
______________________________________________________________________________________
37
Ultra-Low Power Stereo Audio Codec MAX9867
Table 11. Playback Volume Registers (continued)
BITS FUNCTION Left/Right Playback Mute VOLLM and VOLRM mute both the DAC and line input audio signals. 0 = Audio playback is unmuted. 1 = Audio playback is muted Note: VSEN has no effect on the mute function. When VOLLM or VOLRM is set, the output is muted immediately (ZDEN = 1) or at the next zero-crossing (ZDEN = 0). Left/Right Playback Volume VOLL and VOLR control the playback volume for both the DAC and line input audio signals. SETTING GAIN (dB) SETTING GAIN (dB) SETTING GAIN (dB) 0x00 +6 0x0E -5 0x1C -42 0x01 +5.5 0x0F -6 0x1D -46 0x02 +5 0x10 -8 0x1E -50 0x03 +4.5 0x11 -10 0x1F -54 0x04 +4 0x12 -12 0x20 -58 0x05 +3.5 0x13 -14 0x21 -62 0x06 +3 0x14 -16 0x22 -66 0x07 +2 0x15 -18 0x23 -70 0x08 +1 0x16 -20 0x24 -74 0x09 0 0x17 -22 0x25 -78 0x0A -1 0x18 -26 0x26 -82 0x0B -2 0x19 -30 0x27 -84 0x0C -3 0x1A -34 0x28 to 0x3F MUTE 0x0D -4 0x1B -38 Note: Gain settings apply when the headphone amplifier is configured in differential mode. In the singleended and capacitorless modes, the actual gain is 5dB lower for each setting.
VOLLM/VOLRM
VOLL/VOLR
Microphone Inputs
Two differential microphone inputs and a low-noise microphone bias for powering the microphones are provided by the MAX9867. In typical applications, the left microphone records a voice signal and the right microphone records a background noise signal. In applications that require only one microphone, use the left microphone input and disable the right ADC. The microphone signals are amplified by two stages of gain and then routed to
the ADCs. The first stage offers selectable 0dB, 20dB, or 30dB settings. The second stage is a programmable gain amplifier (PGA) adjustable from 0dB to 20dB in 1dB steps. Zero-crossing detection is included on the PGA to minimize zipper noise while making gain changes. See Figure 5 for a detailed diagram of the microphone input structure. Table 12 is the microphone input register.
Table 12. Microphone Input Register
REGISTER Left Microphone Gain Right Microphone Gain B7 0 0 B6 PALEN PAREN B5 B4 B3 B2 PGAML PGAMR B1 B0 REGISTER ADDRESS 0x12 0x13
38
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Table 12. Microphone Input Register (continued)
BITS FUNCTION Left/Right Microphone Preamplifier Gain Enables the microphone circuitry and sets the preamplifier gain. 00 = Disabled 01 = 0dB 10 = +20dB 11 = +30dB Left/Right Microphone Programmable Gain Amplifier SETTING 0x00 0x01 0x02 0x03 PGAML/PGAMR 0x04 0x05 0x06 0x07 0x08 0x09 0x0A GAIN (dB) +20 +19 +18 +17 +16 +15 +14 +13 +12 +10 +11 SETTING 0x0B 0x0C 0x0D 0x0E 0x0F 0x10 0x11 0x12 0x13 0x14 to 0x1F GAIN (dB) +9 +8 +7 +6 +5 +4 +3 +2 +1 0
MAX9867
PALEN/PAREN
MAX9867
MICBIAS 1.5V 0/20/30dB VREG MICLP MICLN PREAMP PGA ADC L 0dB TO +20dB
-
0/20/30dB VREG MICRP MICRN PREAMP PGA ADC R 0dB TO +20dB
Figure 5. Microphone Input Signal Path
______________________________________________________________________________________
39
Ultra-Low Power Stereo Audio Codec MAX9867
ADC
The MAX9867 includes two 16-bit ADCs. The first ADC is used to record left-channel microphone and line-input audio signals. The second ADC can be used to record right-channel microphone and line-input signals, or it can be configured to accurately measure DC voltages. When measuring DC voltages, both the left and right ADCs must be enabled by setting ADLEN and ADREN in register 0x17. The input to the second ADC is JACKSNS/AUX and the output is reported in AUX (registers 0x02 and 0x03). Since the audio ADC is used to perform the measurement, the digital audio interface must be properly configured. If the left ADC is being used to convert audio, the DC measurement is performed at the same sample rate. When not using the left ADC, configure the digital interface for a 48kHz sample rate to ensure the fastest possible settling time. To ensure accurate results, the MAX9867 includes two calibration routines. Calibrate the ADC each time the MAX9867 is powered on. Calibration settings are not lost if the MAX9867 is placed in shutdown. When making a measurement, set AUXCAP to 1 to prevent AUX from changing while reading the registers.
Table 13. AUX ADC Wait Times
WAIT TIMES LRCLK (kHz) 48 44.1 32 24 22.05 16 12 11.025 8 WAIT TIME (ms) 40 44 60 80 90 120 160 175 240
1) Enable the AUX input (AUXEN = 1). 2) Enable the offset calibration (AUXCAL = 1). 3) Wait the appropriate time (see Table 13). 4) Complete calibration (AUXCAL = 0).
Setup Procedure 1) Ensure a valid MCLK signal is provided and configure PSCLK appropriately. 2) Choose a clocking mode. The following options are possible: * Slave mode with LRCLK and BCLK signals provided. The measurement sample rate is determined by the external clocks. * Slave mode with no LRCLK and BCLK signals provided. Configure the device for normal clock mode using the NI ratio. Select fS = 48kHz to allow for the fastest settling times.
* Master mode with audio. Configure the device in normal mode using the NI ratio or exact integer mode using FREQ as required by the audio signal. * Master mode without audio. Configure the device in normal mode using the NI ratio. Select fS = 48kHz to allow for the fastest settling times. 3) Ensure JACKSNS is disabled. 4) Enable the left and right ADC; take the MAX9867 out of shutdown.
Gain Calibration Procedure Perform the following steps the first time a DC measurement is taken after applying power to the MAX9867 or if the temperature changes significantly: 1) Enable the AUX input (AUXEN = 1). 2) Start gain calibration (AUXGAIN = 1).
3) Wait the appropriate time (see Table 13). 4) Freeze the measurement results (AUXCAP = 1). 5) Read AUX and store the value in memory to correct all future measurements (k = (AUX[15:0], k is typically 19500). 6) Complete calibration (AUXGAIN = AUXCAP = 0).
DC Measurement Procedure Perform the following steps after offset and gain calibration are complete: 1) Enable the AUX input (AUXEN = 1). 2) Wait the appropriate time (see Table 13). 3) Freeze the measurement results (AUXCAP = 1). 4) Read AUX and correct with the gain calibration value:
AUX[15 : 0] VAUX = 0.738 k 5) Complete measurement (AUXCAP = 0).
Offset Calibration Procedure Perform the following steps before the first DC measurement is taken after applying power to the MAX9867:
40
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Complete DC Measurement Example MCLK = 13MHz, slave mode, BCLK and LRCLK not externally supplied: 1) Configure the digital audio interface for fS = 48kHz (PSCLK = 01, FREQ = 0x0, PLL = 0, NI = 0x5ABE, MAS = 0). 2) Disable JACKSNS (JDETEN = 0). 3) Enable the left and right ADC; take the MAX9867 out of shutdown (ADLEN = ADREN = SHDN = 1). 4) Calibrate the offset: a. Enable the AUX input (AUXEN = 1). b. Enable the offset calibration (AUXCAL = 1).
c. Wait 40ms. d. Complete calibration (AUXCAL = 0). 5) Calibrate the gain: a. Start gain calibration (AUXGAIN = 1). b. Wait 40ms. c. Freeze the measurement results (AUXCAP = 1). d. Read AUX and store the value in memory to correct all future measurements (k = (AUX[15:0]). e. Complete calibration (AUXGAIN = AUXCAP = AUXEN = 0). 6) Measure the voltage on JACKSNS/AUX: a. b. c. d. Enable the AUX input (AUXEN = 1). Wait 40ms. Freeze the measurement results (AUXCAP = 1). Read AUX and correct with the gain calibration value.
MAX9867
e. Complete measurement (AUXCAP = 0). 7) DC measurement complete.
Table 14. ADC Input Register
REGISTER ADC Input BITS B7 MXINL B6 B5 MXINR B4 B3 AUXCAP B2 AUXGAIN B1 AUXCAL B0 AUXEN REGISTER ADDRESS 0x14
FUNCTION Left/Right ADC Audio Input Mixer 00 = No input is selected. 01 = Left/right analog microphone 10 = Left/right line input 11 = Left/right analog microphone + line input Note: If the right-line input is disabled, then the left-line input is connected to both mixers. Enabling the left and right digital microphones disables the left and right audio mixers, respectively. See DIGMICL/ DIGMICR in Table 15 for more details. Auxiliary Input Capture 0 = Update AUX with the voltage at JACKSNS/AUX. 1 = Hold AUX for reading. Auxiliary Input Gain Calibration 0 = Normal operation 1 = The input buffer is disconnected from JACKSNS/AUX and connected to an internal voltage reference. While in this mode, read the AUX register and store the value. Use the stored value as a gain calibration factor, K, on subsequent readings. Auxiliary Input Offset Calibration 0 = Normal operation 1 = JACKSNS/AUX is disconnected from the input and the ADC automatically calibrates out any internal offsets. Auxiliary Input Enable 0 = Use JACKSNS/AUX for jack detection. 1 = Use JACKSNS/AUX for DC measurements. Note: For AUXEN = 1, set MXINR = 00, ADLEN = 1, and ADREN = 1.
MXINL/MXINR
AUXCAP
AUXGAIN
AUXCAL
AUXEN
______________________________________________________________________________________
41
Ultra-Low Power Stereo Audio Codec MAX9867
Digital Microphone Input
The MAX9867 can accept audio from up to two digital microphones. When using digital microphones, the left analog microphone input is retasked as a digital microphone input. The right analog microphone input is still available to allow a combination of analog and digital microphones to be used. Figure 6 shows the digital microphone interface timing diagram. See Table 15.
Table 15. Digital Microphone Input Register
REGISTER Microphone BITS Digital Microphone Clock 00 = PCLK/8 01 = PCLK/6 10 = Reserved 11 = Reserved Digital Left/Right Microphone Enable DIGMICL DIGMICR 0 0 B7 MICCLK B6 B5 DIGMICL B4 DIGMICR B3 0 FUNCTION B2 0 B1 0 B0 0 REGISTER ADDRESS 0x15
MICCLK
DIGMICL/DIGMICR
Left ADC Input Right ADC Input ADC input mixer ADC input mixer Line input (left analog 0 1 Right digital microphone microphone unavailable) 1 0 Left digital microphone ADC input mixer 1 1 Left digital microphone Right digital microphone Note: The left analog microphone input is never available when DIGMICL or DIGMICR = 1.
1/fMICCLK
DIGMICCLK
tHD, MIC
tSU, MIC
tHD, MIC
tSU, MIC
DIGMICDATA
LEFT
RIGHT
LEFT
RIGHT
Figure 6. Digital Microphone Timing Diagram
42
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Mode Configuration
The MAX9867 includes circuitry to minimize click-andpop during volume changes, detect headsets, and configure the headphone amplifier mode. Both volume slewing and zero-crossing detection are included to ensure click-and-pop free volume transitions. Table 16 is the mode configuration register.
Headset Detection Overview The MAX9867 features headset detection that can detect the insertion and removal of a jack as well as the load type. When a jack is detected, an interrupt on IRQ can be triggered to alert the microcontroller of the event. Figure 7 shows the typical configuration for jack detection. Sleep-Mode Headset Detection When the MAX9867 is in shutdown and the power supply is available, sleep-mode headset detection can be enabled to detect jack insertion. Sleep mode applies a 4A pullup current to JACKSNS/AUX and LOUTP that forces the voltage on JACKSNS/AUX and LOUTP to AVDD when no load is applied. When a jack is inserted, either JACKSNS, LOUTP (assuming the headphone amplifier is not configured in single-ended mode), or both are loaded sufficiently to reduce the output voltage to nearly 0V and clear the JKSNS or LSNS bits, respectively. The change in the LSNS and JKSNS bits sets JDET and triggers an interrupt on IRQ if IJDET is set. The interrupt signals the microcontroller that a jack has been inserted, allowing the microcontroller to respond as desired.
Powered-On Headset Detection When the MAX9867 is in normal operation and the microphone interface is enabled, jack insertion and removal can be detected through the JACKSNS/AUX pin. As shown in Figure 7, VMIC is pulled up by MICBIAS. When a microphone is connected, VMIC is assumed to be between 0V and 95% of VMICBIAS. If the jack is removed, VMIC increases to VMICBIAS. This event causes JKMIC to be set, alerting the system that the headset has been removed. Alternatively, if the jack is inserted, VMIC decreases to below 95% of VMICBIAS and JKMIC is cleared, alerting the system that a jack has been inserted. The JKMIC bit can be configured to create a hardware interrupt that alerts the microcontroller of jack removal and insertion events. Headphone Modes The headphone amplifier supports differential, singleended, and capacitorless output modes, as shown in Figure 8. In each mode, the amplifier can be configured for stereo or mono operation. The differential and capacitorless modes are inherently click and pop free. The single-ended mode optionally includes click-andpop reduction to eliminate the click and pop that would normally be caused by the output coupling capacitor. When click-and-pop reduction is not required in the single-ended configuration, leave LOUTN and ROUTN unconnected.
MAX9867
LOUTP GND MIC HPR HPL ROUTP MICLP LOUTN MICBIAS JACKSNS/AUX
Figure 7. Typical Configuration for Headset Detection
DIFFERENTIAL LOUTP LOUTN CAPACITORLESS LOUTP LOUTN SINGLE ENDED 220F LOUTP LOUTN 1F
220F ROUTP ROUTN ROUTP ROUTN ROUTP ROUTN 1F
OPTIONAL COMPONENTS REQUIRED FOR CLICK AND POP SUPPRESSION ONLY
Figure 8. Headphone Amplifier Modes
______________________________________________________________________________________ 43
Ultra-Low Power Stereo Audio Codec MAX9867
Table 16. Mode Configuration Register
REGISTER Mode B7 DSLEW B6 VSEN B5 ZDEN B4 0 B3 JDETEN B2 B1 HPMODE B0 REGISTER ADDRESS 0x16
BITS DSLEW
FUNCTION Digital Volume Slew Speed 0 = Digital volume changes are slewed over 10ms. 1 = Digital volume changes are slewed over 80ms. Volume Change Smoothing 0 = Volume changes slew through all intermediate values. 1 = Volume changes occur in one step. Line Input Zero-Crossing Detection 0 = Line input volume changes occur at zero crossings in the audio waveform or after 62ms if no zero crossing occurs. 1 = Line-input volume changes occur immediately. Jack Detection Enable SHDN = 0: Sleep Mode Enables pullups on LOUTP and JACKSNS/AUX to detect jack insertion. LSNS and JKSNS are valid. LOUTP detection is only valid in differential and capacitorless output modes. SHDN = 1: Normal Mode Enables the comparator circuitry on JACKSNS/AUX to detect voltage changes. JKMIC is valid if the microphone circuitry is enabled. Note: AUXEN must be set to 0 for jack detection to function. Headphone Amplifier Mode HPMODE 000 001 010 Mode Stereo differential (clickless) Mono (left) differential (clickless) Stereo capacitorless (clickless) Mono (left) capacitorless (clickless) Stereo single-ended (clickless) Mono (left) single-ended (clickless) Stereo single-ended (fast turn-on) Mono (left) single-ended (fast turn-on)
VSEN
ZDEN
JDETEN
HPMODE
011 100 101 110 111 Note: In mono operation, the right amplifier is disabled.
44
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Power Management
The MAX9867 includes complete power management control to minimize power usage. The DAC and both ADC can be independently enabled so that only the required circuitry is active. Toggle the SHDN bit whenever a configuration change is made. Table 17 is the power-management register.
MAX9867
Table 17. Power-Management Register
REGISTER System Shutdown BITS SHDN B7 SHDN B6 LNLEN B5 LNREN B4 0 B3 DALEN FUNCTION Shutdown Places the device in low-power shutdown mode. Left-Line Input Enable Enables the left-line input preamp and automatically enables the left and right headphone amplifiers. If LNREN = 0, the left-line input signal is also routed to the right ADC input mixer and right headphone amplifier. Note: Control of the right headphone amplifier can be overridden by HPMODE. Right-Line Input Enable Enables the right-line input preamp and automatically enables the right headphone amplifier. Note: Control of the right headphone amplifier can be overridden by HPMODE. Left DAC Enable Enables the left DAC and automatically enables the left and right headphone amplifiers. If DAREN = 0, the left DAC signal is also routed to the right headphone amplifier. Note: Control of the right headphone amplifier can be overridden by HPMODE. Right DAC Enable Enabling the right DAC must be done in the same I2C write operation that enables the left DAC. Right DAC operation requires DALEN = 1. Left ADC Enable Right ADC Enable Enabling the right ADC must be done in the same I2C write operation that enables the left ADC. The right ADC can be enabled while the left ADC is running if used for DC measurements. SHDN must be toggled to disable the right ADC in this case. Right ADC operation requires ADLEN = 1. B2 DAREN B1 ADLEN B0 ADREN REGISTER ADDRESS 0x17
LNLEN
LNREN
DALEN
DAREN ADLEN ADREN
Revision Code
The MAX9867 includes a revision code to allow easy identification of the device revision. The revision code is 0x42. See Table 18 for the revision code register.
Table 18. Revision Code Register
REGISTER Revision B7 B6 B5 B4 REV B3 B2 B1 B0 REGISTER ADDRESS 0xFF
______________________________________________________________________________________
45
Ultra-Low Power Stereo Audio Codec MAX9867
I2C Serial Interface
The MAX9867 features an I 2 C/SMBus-compatible, 2-wire serial interface consisting of a serial-data line (SDA) and a serial-clock line (SCL). SDA and SCL facilitate communication between the MAX9867 and the master at clock rates up to 400kHz. Figure 9 shows the 2-wire interface timing diagram. The master generates SCL and initiates data transfer on the bus. The master device writes data to the MAX9867 by transmitting the proper slave address followed by the register address and then the data word. Each transmit sequence is framed by a START (S) or REPEATED START (Sr) condition and a STOP (P) condition. Each word transmitted to the MAX9867 is 8 bits long and is followed by an acknowledge clock pulse. A master reading data from the MAX9867 transmits the proper slave address followed by a series of nine SCL pulses. The MAX9867 transmits data on SDA in sync with the master-generated SCL pulses. The master acknowledges receipt of each byte of data. Each read sequence is framed by a START or REPEATED START condition, a not acknowledge, and a STOP condition. SDA operates as both an input and an open-drain output. A pullup resistor, typically greater than 500 is required on SDA. SCL operates only as an input. A pullup resistor, typically greater than 500, is required on SCL if there are multiple masters on the bus, or if the single master has an open-drain SCL output. Series resistors in line with SDA and SCL are optional. Series resistors protect the digital inputs of the MAX9867 from high-voltage spikes on the bus lines, and minimize crosstalk, and undershoot of the bus signals.
Bit Transfer One data bit is transferred during each SCL cycle. The data on SDA must remain stable during the high period of the SCL pulse. Changes in SDA while SCL is high are control signals. See the START and STOP Conditions section. START and STOP Conditions SDA and SCL idle high when the bus is not in use. A master initiates communication by issuing a START condition. A START condition is a high-to-low transition on SDA with SCL high. A STOP condition is a low-to-high transition on SDA while SCL is high (Figure 10). A START condition from the master signals the beginning of a transmission to the MAX9867. The master terminates transmission, and frees the bus, by issuing a STOP condition. The bus remains active if a REPEATED START condition is generated instead of a STOP condition.
SDA tSU,STA tHD,DAT tHIGH tBUF tHD,STA tSP tSU,STO
tLOW
tSU,DAT
SCL tHD,STA tR START CONDITION
tF REPEATED START CONDITION STOP CONDITION START CONDITION
Figure 9. 2-Wire Interface Timing Diagram
S SCL
Sr
P
SDA
Figure 10. START, STOP, and REPEATED START Conditions
46 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Early STOP Conditions The MAX9867 recognizes a STOP condition at any point during data transmission except if the STOP condition occurs in the same high pulse as a START condition. For proper operation, do not send a STOP condition during the same SCL high pulse as the START condition. Slave Address The slave address is defined as the 7 most significant bits (MSBs) followed by the read/write bit. For the MAX9867, the 7 most significant bits are 0011000. Setting the read/write bit to 1 (slave address = 0x31) configures the MAX9867 for read mode. Setting the read/write bit to 0 (slave address = 0x30) configures the MAX9867 for write mode. The address is the first byte of information sent to the MAX9867 after the START condition. Acknowledge The acknowledge bit (ACK) is a clocked 9th bit that the MAX9867 uses to handshake receipt each byte of data when in write mode (see Figure 11). The MAX9867 pulls
down SDA during the entire master-generated 9th clock pulse if the previous byte is successfully received. Monitoring ACK allows for detection of unsuccessful data transfers. An unsuccessful data transfer occurs if a receiving device is busy or if a system fault has occurred. In the event of an unsuccessful data transfer, the bus master retries communication. The master pulls down SDA during the 9th clock cycle to acknowledge receipt of data when the MAX9867 is in read mode. An acknowledge is sent by the master after each read byte to allow data transfer to continue. A not acknowledge is sent when the master reads the final byte of data from the MAX9867, followed by a STOP condition.
MAX9867
Write Data Format A write to the MAX9867 includes transmission of a START condition, the slave address with the R/W bit set to 0, 1 byte of data to configure the internal register address pointer, 1 or more bytes of data, and a STOP condition. Figure 12 illustrates the proper frame format for writing 1 byte of data to the MAX9867. Figure 10 illustrates the frame format for writing n bytes of data to the MAX9867.
START CONDITION SCL 1 28
CLOCK PULSE FOR ACKNOWLEDGMENT
9 NOT ACKNOWLEDGE
SDA ACKNOWLEDGE
Figure 11. Acknowledge
ACKNOWLEDGE FROM MAX9867 B7 ACKNOWLEDGE FROM MAX9867 S SLAVE ADDRESS R/W 0 A ACKNOWLEDGE FROM MAX9867 REGISTER ADDRESS A DATA BYTE 1 BYTE AUTOINCREMENT INTERNAL REGISTER ADDRESS POINTER A P B6 B5 B4 B3 B2 B1 B0
Figure 12. Writing 1 Byte of Data to the MAX9867
______________________________________________________________________________________ 47
Ultra-Low Power Stereo Audio Codec
The slave address with the R/W bit set to 0 indicates that the master intends to write data to the MAX9867. The MAX9867 acknowledges receipt of the address byte during the master-generated 9th SCL pulse. The second byte transmitted from the master configures the MAX9867's internal register address pointer. The pointer tells the MAX9867 where to write the next byte of data. An acknowledge pulse is sent by the MAX9867 upon receipt of the address pointer data. The third byte sent to the MAX9867 contains the data that is written to the chosen register. An acknowledge pulse from the MAX9867 signals receipt of the data byte. The address pointer autoincrements to the next register address after each received data byte. This autoincrement feature allows a master to write to sequential registers within one continuous frame. Figure 13 illustrates how to write to multiple registers with one frame. The master signals the end of transmission by issuing a STOP (P) condition. Register addresses greater than 0x17 are reserved. Do not write to these addresses.
MAX9867
The first byte transmitted from the MAX9867 is the content of register 0x00. Transmitted data is valid on the rising edge of SCL. The address pointer autoincrements after each read data byte. This autoincrement feature allows all registers to be read sequentially within one continuous frame. A STOP condition can be issued after any number of read data bytes. If a STOP condition is issued followed by another read operation, the first data byte to be read is from register 0x00. The address pointer can be preset to a specific register before a read command is issued. The master presets the address pointer by first sending the MAX9867's slave address with the R/W bit set to 0 followed by the register address. A REPEATED START (Sr) condition is then sent followed by the slave address with the R/W bit set to 1. The MAX9867 then transmits the contents of the specified register. The address pointer autoincrements after transmitting the first byte. The master acknowledges receipt of each read byte during the acknowledge clock pulse. The master must acknowledge all correctly received bytes except the last byte. The final byte must be followed by a not acknowledge from the master and then a STOP condition. Figure 14 illustrates the frame format for reading 1 byte from the MAX9867. Figure 15 illustrates the frame format for reading multiple bytes from the MAX9867.
Read Data Format Send the slave address with the R/W bit set to 1 to initiate a read operation. The MAX9867 acknowledges receipt of its slave address by pulling SDA low during the 9th SCL clock pulse. A START (S) command followed by a read command resets the address pointer to register 0x00.
ACKNOWLEDGE FROM MAX9867 ACKNOWLEDGE FROM MAX9867 S SLAVE ADDRESS R/W 0 A B7 B6 B5 B4 B3 B2 B1 B0 ACKNOWLEDGE FROM MAX9867 REGISTER ADDRESS A DATA BYTE 1 1 BYTE A
ACKNOWLEDGE FROM MAX9867 B7 B6 B5 B4 B3 B2 B1 B0
DATA BYTE n 1 BYTE
A
P
AUTOINCREMENT INTERNAL REGISTER ADDRESS POINTER
Figure 13. Writing n Bytes of Data to the MAX9867
NOT ACKNOWLEDGE FROM MASTER ACKNOWLEDGE FROM MAX9867 S SLAVE ADDRESS R/W 0 ACKNOWLEDGE FROM MAX9867 REGISTER ADDRESS A ACKNOWLEDGE FROM MAX9867 Sr SLAVE ADDRESS R/W 1 A DATA BYTE 1 BYTE AUTOINCREMENT INTERNAL REGISTER ADDRESS POINTER A P
REPEATED START
Figure 14. Reading 1 Byte of Data from the MAX9867
48 ______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec MAX9867
ACKNOWLEDGE FROM MAX9867 S SLAVE ADDRESS R/W 0 ACKNOWLEDGE FROM MAX9867 REGISTER ADDRESS A ACKNOWLEDGE FROM MAX9867 Sr SLAVE ADDRESS R/W 1 A DATA BYTE 1 BYTE AUTOINCREMENT INTERNAL REGISTER ADDRESS POINTER A P
REPEATED START
Figure 15. Reading n Bytes of Data from the MAX9867
Applications Information
Proper layout and grounding are essential for optimum performance. When designing a PCB for the MAX9867, partition the circuitry so that the analog sections of the MAX9867 are separated from the digital sections. This ensures that the analog audio traces are not routed near digital traces. Use a large continuous ground plane on a dedicated layer of the PCB to minimize loop areas. Connect AGND and DGND directly to the ground plane using the shortest trace length possible. Proper grounding improves audio performance, minimizes crosstalk between channels, and prevents any digital noise from coupling into the analog audio signals. Ground the bypass capacitors on MICBIAS, REG, PREG, and REF directly to the ground plane with minimum trace length. Also be sure to minimize the path length to AGND. Bypass AVDD directly to AGND.
Connect all digital I/O termination to the ground plane with minimum path length to DGND. Bypass DVDD and DVDDIO directly to DGND. Route microphone signals from the microphone to the MAX9867 as a differential pair, ensuring that the positive and negative signals follow the same path as closely as possible with equal trace length. When using single-ended microphones or other single-ended audio sources, ground the negative microphone input as near as possible to the audio source and then treat the positive and negative traces as differential pairs. The MAX9867 TQFN package features an exposed thermal pad on its underside. Connect the exposed thermal pad to AGND. An evaluation kit (EV Kit) is available to provide an example layout for the MAX9867. The EV kit allows quick setup of the MAX9867 and includes easy-to-use software, allowing all internal registers to be controlled.
______________________________________________________________________________________
49
Ultra-Low Power Stereo Audio Codec MAX9867
Functional Diagram/Typical Operating Circuit
1.7V-3.6V TO PROCESSOR 1F 26 (E1) 2.2F 6 (B4) 8 (B5) 10 (B6) DVDDIO REF REF I2C VCM PREG CLOCK GEN DIGITAL AUDIO INTERFACE DVST: 0dB TO -60dB LINEAR REG 4 (C3) IRQ 3 (A3) SDA 2 (B3) SCL 31 (B2) MCLK 30 (B1) BCLK 29 (C1) LRCLK 28 (C2) SDIN 27 (D1) SDOUT 32 (A1) DVDD SYSTEM CLOCK TO PROCESSOR 1F 5 (A4) AVDD 1F 7 (A5) PREG 23 (E2) PVDD 1.8V 1.8V 1F 1F 1.8V
1F
REG
1F
MICBIAS
DSTS MIX
MAX9867
DACG: 0/6/12/18dB DACA: 0dB TO -15dB VOLL: +6dB TO -84dB MIX DIGITAL FILTERING LOUTP DACL
2.2k
0.22F 12 (C6)
MICLP/ DIGMICDATA
PALEN: 0/20/30dB
PGAML: +20dB TO 0dB MXINL ADCL DIGITAL FILTERING MIX
AVL: +3dB TO -12dB MIX
22 (E3)
2.2k
11 0.22F (C5)
MICLN/ DIGMICCLK
DMONO DACG: 0/6/12/18dB DACA: 0dB TO -15dB VOLR: +6dB TO -84dB
LOUTN
21 (D2) 19 (D3)
ROUTP 2.2k 13 (C4) PAREN: 0/20/30dB PGAMR: +20dB TO 0dB MXINR ADCR DIGITAL FILTERING MIX MIX DIGITAL FILTERING AVR: +3dB TO -12dB DACR
0.22F
MICRP
ROUTN
20 (E4)
2.2k
14 0.22F (D6)
MICRN
0.47F
15 (D5)
LIGL: +24dB TO -6dB LINL
VOLL, LVOLFIX: +6dB TO -84dB JACK DETECT
JACKSNS/ AUX
17 (D4)
0.47F
16 (E6)
LIGR: +24dB TO -6dB LINR
VOLR, LVOLFIX: +6dB TO -84dB
DGND 1 (A2) () WLP PACKAGE
AGND 9 (A6)
PGND 18 (E5)
50
______________________________________________________________________________________
Ultra-Low Power Stereo Audio Codec
Pin Configurations
MAX9867
JACKSNS/AUX
TOP VIEW (BUMP SIDE DOWN)
1 DVDD A 2 DGND 3
ROUTN
PGND
PVDD
N.C.
TOP VIEW
LOUTP
ROUTP
LOUTN
MAX9867
4 AVDD 5 PREG 6 AGND
24 N.C. 25 DVDDIO 26 SDOUT 27 SDIN 28 LRCLK 29 BCLK 30 MCLK 31 DVDD 32 1 DGND
23
22
21
20
19
18
17 16 15 14 13 LINR LINL MICRN MICRP MICLP/DIGMICDATA MICLN/DIGMICCLK MICBIAS AGND D DVDDIO E PVDD LOUTP ROUTN PGND LINR C SDOUT LOUTN ROUTP JACKSNS LINL MICRN B LRCLK SDIN IRQ MICRP MICLN MICLP BCLK MCLK SCL REF REG MICBIAS SDA
MAX9867
12 11
+
2 SCL 3 SDA 4 IRQ 5 AVDD 6 REF
*EP
10 9
7 PREG
8 REG
THIN QFN (5mm x 5mm)
*EP = EXPOSED PAD
WLP (2.2mm x 2.7mm)
______________________________________________________________________________________
51
Ultra-Low Power Stereo Audio Codec MAX9867
Package Information
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages. PACKAGE TYPE 30 WLP 32 TQFN-EP PACKAGE CODE W302A2+3 T3255+4 DOCUMENT NO. 21-0211 21-0140
52
______________________________________________________________________________________
WLP PKG.EPS
Ultra-Low Power Stereo Audio Codec
Package Information (continued)
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages.
MAX9867
______________________________________________________________________________________
QFN THIN.EPS
53
Ultra-Low Power Stereo Audio Codec MAX9867
Package Information (continued)
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages.
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
54 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 (c) 2009 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products, Inc.


▲Up To Search▲   

 
Price & Availability of MAX9867EWV

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X